; LLVM IR from NVIDIA/tensorflow :: tensorflow/lite/experimental/micro/examples/micro_speech/micro_features (main)

; 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, [512 x i16], i64, [512 x i16], i64, [512 x i16], 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 [90 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [138 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.tflite::MicroErrorReporter", align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %12 = alloca %struct.WindowState, align 8
  %13 = alloca [25 x i16], align 16
  %14 = alloca i32, align 4
  %15 = alloca %"class.tflite::MicroErrorReporter", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %18 = alloca %struct.WindowState, align 8
  %19 = alloca i64, align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.tflite::MicroErrorReporter", align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %24 = alloca %struct.WindowState, align 8
  %25 = alloca i64, align 8
  %26 = alloca [25 x i16], align 16
  %27 = alloca i32, align 4
  %28 = alloca %"class.tflite::MicroErrorReporter", align 8
  %29 = alloca ptr, align 8
  %30 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %31 = alloca %struct.WindowState, align 8
  %32 = alloca i64, align 8
  %33 = alloca %"class.tflite::MicroErrorReporter", align 8
  %34 = alloca ptr, align 8
  %35 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %36 = alloca %struct.WindowState, align 8
  %37 = alloca i64, align 8
  %38 = alloca [25 x i16], align 16
  %39 = alloca i32, align 4
  %40 = alloca %"class.tflite::MicroErrorReporter", align 8
  %41 = alloca ptr, align 8
  %42 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %43 = alloca %struct.WindowState, align 8
  %44 = 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
  %45 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %46 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef @.str, ptr noundef @.str.1)
          to label %47 unwind label %64

47:                                               ; 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 %48

48:                                               ; preds = %142, %47
  %49 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %50 = trunc i8 %49 to i1
  %51 = xor i1 %50, true
  br i1 %51, label %52, label %158

52:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  call void @_ZN6tflite18MicroErrorReporterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store ptr %9, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  invoke void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %53 unwind label %68

53:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 3104, ptr %12) #6
  br label %54

54:                                               ; preds = %53
  %55 = load ptr, ptr %10, align 8, !tbaa !9
  %56 = getelementptr inbounds %"class.(anonymous namespace)::WindowTestConfig", ptr %11, i32 0, i32 0
  %57 = invoke noundef i32 @_Z19WindowPopulateStatePN6tflite13ErrorReporterEPK12WindowConfigP11WindowStatei(ptr noundef %55, ptr noundef %56, ptr noundef %12, i32 noundef 1000)
          to label %58 unwind label %72

58:                                               ; preds = %54
  %59 = icmp ne i32 %57, 0
  br i1 %59, label %76, label %60

60:                                               ; preds = %58
  %61 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %62 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 52)
          to label %63 unwind label %72

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

64:                                               ; preds = %716, %712, %702, %604, %467, %391, %265, %158, %2
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %7, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %8, align 4
  br label %722

68:                                               ; preds = %52
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %7, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %8, align 4
  br label %157

72:                                               ; preds = %60, %54
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %7, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %8, align 4
  br label %156

76:                                               ; preds = %63, %58
  br label %77

77:                                               ; preds = %76
  br label %78

78:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 50, ptr %13) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 @__const.main.expected, i64 50, i1 false)
  br label %79

79:                                               ; preds = %78
  %80 = getelementptr inbounds %struct.WindowState, ptr %12, i32 0, i32 0
  %81 = load i64, ptr %80, align 8, !tbaa !15
  %82 = icmp ne i64 %81, 25
  br i1 %82, label %83, label %93

83:                                               ; preds = %79
  %84 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %85 = getelementptr inbounds %struct.WindowState, ptr %12, i32 0, i32 0
  %86 = load i64, ptr %85, align 8, !tbaa !15
  %87 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %84, ptr noundef @.str.4, ptr noundef @.str.3, i32 noundef 58, i64 noundef %86, i64 noundef 25)
          to label %88 unwind label %89

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

89:                                               ; preds = %83
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %7, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %8, align 4
  br label %155

93:                                               ; preds = %88, %79
  br label %94

94:                                               ; preds = %93
  br label %95

95:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %96

96:                                               ; preds = %138, %95
  %97 = load i32, ptr %14, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds %struct.WindowState, ptr %12, i32 0, i32 0
  %100 = load i64, ptr %99, align 8, !tbaa !15
  %101 = icmp ult i64 %98, %100
  br i1 %101, label %102, label %141

102:                                              ; preds = %96
  br label %103

103:                                              ; preds = %102
  %104 = getelementptr inbounds %struct.WindowState, ptr %12, i32 0, i32 1
  %105 = load i32, ptr %14, align 4, !tbaa !5
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [512 x i16], ptr %104, i64 0, i64 %106
  %108 = load i16, ptr %107, align 2, !tbaa !19
  %109 = sext i16 %108 to i32
  %110 = load i32, ptr %14, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [25 x i16], ptr %13, i64 0, i64 %111
  %113 = load i16, ptr %112, align 2, !tbaa !19
  %114 = sext i16 %113 to i32
  %115 = icmp ne i32 %109, %114
  br i1 %115, label %116, label %135

116:                                              ; preds = %103
  %117 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %118 = getelementptr inbounds %struct.WindowState, ptr %12, i32 0, i32 1
  %119 = load i32, ptr %14, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [512 x i16], ptr %118, i64 0, i64 %120
  %122 = load i16, ptr %121, align 2, !tbaa !19
  %123 = sext i16 %122 to i32
  %124 = load i32, ptr %14, align 4, !tbaa !5
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [25 x i16], ptr %13, i64 0, i64 %125
  %127 = load i16, ptr %126, align 2, !tbaa !19
  %128 = sext i16 %127 to i32
  %129 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %117, ptr noundef @.str.5, ptr noundef @.str.3, i32 noundef 61, i32 noundef %123, i32 noundef %128)
          to label %130 unwind label %131

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

131:                                              ; preds = %116
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %7, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %155

135:                                              ; preds = %130, %103
  br label %136

136:                                              ; preds = %135
  br label %137

137:                                              ; preds = %136
  br label %138

138:                                              ; preds = %137
  %139 = load i32, ptr %14, align 4, !tbaa !5
  %140 = add nsw i32 %139, 1
  store i32 %140, ptr %14, align 4, !tbaa !5
  br label %96, !llvm.loop !20

141:                                              ; preds = %96
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 50, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 3104, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %142

142:                                              ; preds = %141
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %143 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %144 = trunc i8 %143 to i1
  %145 = zext i1 %144 to i64
  %146 = select i1 %144, i32 0, i32 1
  %147 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %148 = add nsw i32 %147, %146
  store i32 %148, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %149 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %150 = trunc i8 %149 to i1
  %151 = zext i1 %150 to i64
  %152 = select i1 %150, i32 1, i32 0
  %153 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %154 = add nsw i32 %153, %152
  store i32 %154, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %48, !llvm.loop !22

155:                                              ; preds = %131, %89
  call void @llvm.lifetime.end.p0(i64 50, ptr %13) #6
  br label %156

156:                                              ; preds = %155, %72
  call void @llvm.lifetime.end.p0(i64 3104, ptr %12) #6
  br label %157

157:                                              ; preds = %156, %68
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %722

158:                                              ; preds = %48
  %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 @.str, ptr noundef @.str.6)
          to label %161 unwind label %64

161:                                              ; preds = %158
  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 %162

162:                                              ; preds = %249, %161
  %163 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %164 = trunc i8 %163 to i1
  %165 = xor i1 %164, true
  br i1 %165, label %166, label %265

166:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  call void @_ZN6tflite18MicroErrorReporterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  store ptr %15, ptr %16, align 8, !tbaa !9
  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 %167 unwind label %178

167:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 3104, ptr %18) #6
  br label %168

168:                                              ; preds = %167
  %169 = load ptr, ptr %16, align 8, !tbaa !9
  %170 = getelementptr inbounds %"class.(anonymous namespace)::WindowTestConfig", ptr %17, i32 0, i32 0
  %171 = invoke noundef i32 @_Z19WindowPopulateStatePN6tflite13ErrorReporterEPK12WindowConfigP11WindowStatei(ptr noundef %169, ptr noundef %170, ptr noundef %18, i32 noundef 1000)
          to label %172 unwind label %182

172:                                              ; preds = %168
  %173 = icmp ne i32 %171, 0
  br i1 %173, label %186, label %174

174:                                              ; preds = %172
  %175 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %176 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %175, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 72)
          to label %177 unwind label %182

177:                                              ; preds = %174
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %186

178:                                              ; preds = %166
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %7, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %8, align 4
  br label %264

182:                                              ; preds = %174, %168
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %7, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %8, align 4
  br label %263

186:                                              ; preds = %177, %172
  br label %187

187:                                              ; preds = %186
  br label %188

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

189:                                              ; preds = %188
  %190 = invoke noundef i32 @_Z20WindowProcessSamplesP11WindowStatePKsmPm(ptr noundef %18, ptr noundef @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef %19)
          to label %191 unwind label %197

191:                                              ; preds = %189
  %192 = icmp ne i32 %190, 0
  br i1 %192, label %201, label %193

193:                                              ; preds = %191
  %194 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %195 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %194, ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 77)
          to label %196 unwind label %197

196:                                              ; preds = %193
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %201

197:                                              ; preds = %193, %189
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %7, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %8, align 4
  br label %262

201:                                              ; preds = %196, %191
  br label %202

202:                                              ; preds = %201
  br label %203

203:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store i32 10, ptr %20, align 4, !tbaa !5
  br label %204

204:                                              ; preds = %245, %203
  %205 = load i32, ptr %20, align 4, !tbaa !5
  %206 = icmp slt i32 %205, 25
  br i1 %206, label %207, label %248

207:                                              ; preds = %204
  br label %208

208:                                              ; preds = %207
  %209 = getelementptr inbounds %struct.WindowState, ptr %18, i32 0, i32 3
  %210 = load i32, ptr %20, align 4, !tbaa !5
  %211 = sub nsw i32 %210, 10
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds [512 x i16], ptr %209, i64 0, i64 %212
  %214 = load i16, ptr %213, align 2, !tbaa !19
  %215 = sext i16 %214 to i32
  %216 = load i32, ptr %20, align 4, !tbaa !5
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds [36 x i16], ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 0, i64 %217
  %219 = load i16, ptr %218, align 2, !tbaa !19
  %220 = sext i16 %219 to i32
  %221 = icmp ne i32 %215, %220
  br i1 %221, label %222, label %242

222:                                              ; preds = %208
  %223 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %224 = getelementptr inbounds %struct.WindowState, ptr %18, i32 0, i32 3
  %225 = load i32, ptr %20, align 4, !tbaa !5
  %226 = sub nsw i32 %225, 10
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds [512 x i16], ptr %224, i64 0, i64 %227
  %229 = load i16, ptr %228, align 2, !tbaa !19
  %230 = sext i16 %229 to i32
  %231 = load i32, ptr %20, align 4, !tbaa !5
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds [36 x i16], ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 0, i64 %232
  %234 = load i16, ptr %233, align 2, !tbaa !19
  %235 = sext i16 %234 to i32
  %236 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %223, ptr noundef @.str.8, ptr noundef @.str.3, i32 noundef 81, i32 noundef %230, i32 noundef %235)
          to label %237 unwind label %238

237:                                              ; preds = %222
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %242

238:                                              ; preds = %222
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %7, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %262

242:                                              ; preds = %237, %208
  br label %243

243:                                              ; preds = %242
  br label %244

244:                                              ; preds = %243
  br label %245

245:                                              ; preds = %244
  %246 = load i32, ptr %20, align 4, !tbaa !5
  %247 = add nsw i32 %246, 1
  store i32 %247, ptr %20, align 4, !tbaa !5
  br label %204, !llvm.loop !23

248:                                              ; preds = %204
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 3104, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %249

249:                                              ; preds = %248
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %250 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %251 = trunc i8 %250 to i1
  %252 = zext i1 %251 to i64
  %253 = select i1 %251, i32 0, i32 1
  %254 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %255 = add nsw i32 %254, %253
  store i32 %255, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %256 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %257 = trunc i8 %256 to i1
  %258 = zext i1 %257 to i64
  %259 = select i1 %257, i32 1, i32 0
  %260 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %261 = add nsw i32 %260, %259
  store i32 %261, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %162, !llvm.loop !24

262:                                              ; preds = %238, %197
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %263

263:                                              ; preds = %262, %182
  call void @llvm.lifetime.end.p0(i64 3104, ptr %18) #6
  br label %264

264:                                              ; preds = %263, %178
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %722

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

268:                                              ; preds = %265
  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 %269

269:                                              ; preds = %374, %268
  %270 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %271 = trunc i8 %270 to i1
  %272 = xor i1 %271, true
  br i1 %272, label %273, label %391

273:                                              ; preds = %269
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @_ZN6tflite18MicroErrorReporterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  store ptr %21, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #6
  invoke void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23)
          to label %274 unwind label %285

274:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 3104, ptr %24) #6
  br label %275

275:                                              ; preds = %274
  %276 = load ptr, ptr %22, align 8, !tbaa !9
  %277 = getelementptr inbounds %"class.(anonymous namespace)::WindowTestConfig", ptr %23, i32 0, i32 0
  %278 = invoke noundef i32 @_Z19WindowPopulateStatePN6tflite13ErrorReporterEPK12WindowConfigP11WindowStatei(ptr noundef %276, ptr noundef %277, ptr noundef %24, i32 noundef 1000)
          to label %279 unwind label %289

279:                                              ; preds = %275
  %280 = icmp ne i32 %278, 0
  br i1 %280, label %293, label %281

281:                                              ; preds = %279
  %282 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %283 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %282, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 92)
          to label %284 unwind label %289

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

285:                                              ; preds = %273
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %7, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %8, align 4
  br label %390

289:                                              ; preds = %281, %275
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %7, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %8, align 4
  br label %389

293:                                              ; preds = %284, %279
  br label %294

294:                                              ; preds = %293
  br label %295

295:                                              ; preds = %294
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  br label %296

296:                                              ; preds = %295
  %297 = invoke noundef i32 @_Z20WindowProcessSamplesP11WindowStatePKsmPm(ptr noundef %24, ptr noundef @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef %25)
          to label %298 unwind label %304

298:                                              ; preds = %296
  %299 = icmp ne i32 %297, 0
  br i1 %299, label %308, label %300

300:                                              ; preds = %298
  %301 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %302 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %301, ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 97)
          to label %303 unwind label %304

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

304:                                              ; preds = %300, %296
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %7, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %8, align 4
  br label %388

308:                                              ; preds = %303, %298
  br label %309

309:                                              ; preds = %308
  br label %310

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

311:                                              ; preds = %310
  %312 = getelementptr inbounds %struct.WindowState, ptr %24, i32 0, i32 0
  %313 = load i64, ptr %312, align 8, !tbaa !15
  %314 = icmp ne i64 %313, 25
  br i1 %314, label %315, label %325

315:                                              ; preds = %311
  %316 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %317 = getelementptr inbounds %struct.WindowState, ptr %24, i32 0, i32 0
  %318 = load i64, ptr %317, align 8, !tbaa !15
  %319 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %316, ptr noundef @.str.4, ptr noundef @.str.3, i32 noundef 102, i64 noundef %318, i64 noundef 25)
          to label %320 unwind label %321

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

321:                                              ; preds = %315
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %7, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %8, align 4
  br label %387

325:                                              ; preds = %320, %311
  br label %326

326:                                              ; preds = %325
  br label %327

327:                                              ; preds = %326
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %328

328:                                              ; preds = %370, %327
  %329 = load i32, ptr %27, align 4, !tbaa !5
  %330 = sext i32 %329 to i64
  %331 = getelementptr inbounds %struct.WindowState, ptr %24, i32 0, i32 0
  %332 = load i64, ptr %331, align 8, !tbaa !15
  %333 = icmp ult i64 %330, %332
  br i1 %333, label %334, label %373

334:                                              ; preds = %328
  br label %335

335:                                              ; preds = %334
  %336 = getelementptr inbounds %struct.WindowState, ptr %24, i32 0, i32 5
  %337 = load i32, ptr %27, align 4, !tbaa !5
  %338 = sext i32 %337 to i64
  %339 = getelementptr inbounds [512 x i16], ptr %336, i64 0, i64 %338
  %340 = load i16, ptr %339, align 2, !tbaa !19
  %341 = sext i16 %340 to i32
  %342 = load i32, ptr %27, align 4, !tbaa !5
  %343 = sext i32 %342 to i64
  %344 = getelementptr inbounds [25 x i16], ptr %26, i64 0, i64 %343
  %345 = load i16, ptr %344, align 2, !tbaa !19
  %346 = sext i16 %345 to i32
  %347 = icmp ne i32 %341, %346
  br i1 %347, label %348, label %367

348:                                              ; preds = %335
  %349 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %350 = getelementptr inbounds %struct.WindowState, ptr %24, i32 0, i32 5
  %351 = load i32, ptr %27, align 4, !tbaa !5
  %352 = sext i32 %351 to i64
  %353 = getelementptr inbounds [512 x i16], ptr %350, i64 0, i64 %352
  %354 = load i16, ptr %353, align 2, !tbaa !19
  %355 = sext i16 %354 to i32
  %356 = load i32, ptr %27, align 4, !tbaa !5
  %357 = sext i32 %356 to i64
  %358 = getelementptr inbounds [25 x i16], ptr %26, i64 0, i64 %357
  %359 = load i16, ptr %358, align 2, !tbaa !19
  %360 = sext i16 %359 to i32
  %361 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %349, ptr noundef @.str.11, ptr noundef @.str.3, i32 noundef 105, i32 noundef %355, i32 noundef %360)
          to label %362 unwind label %363

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

363:                                              ; preds = %348
  %364 = landingpad { ptr, i32 }
          cleanup
  %365 = extractvalue { ptr, i32 } %364, 0
  store ptr %365, ptr %7, align 8
  %366 = extractvalue { ptr, i32 } %364, 1
  store i32 %366, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  br label %387

367:                                              ; preds = %362, %335
  br label %368

368:                                              ; preds = %367
  br label %369

369:                                              ; preds = %368
  br label %370

370:                                              ; preds = %369
  %371 = load i32, ptr %27, align 4, !tbaa !5
  %372 = add nsw i32 %371, 1
  store i32 %372, ptr %27, align 4, !tbaa !5
  br label %328, !llvm.loop !25

373:                                              ; preds = %328
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 50, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 3104, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %374

374:                                              ; preds = %373
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %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 0, i32 1
  %379 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %380 = add nsw i32 %379, %378
  store i32 %380, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %381 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %382 = trunc i8 %381 to i1
  %383 = zext i1 %382 to i64
  %384 = select i1 %382, i32 1, i32 0
  %385 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %386 = add nsw i32 %385, %384
  store i32 %386, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %269, !llvm.loop !26

387:                                              ; preds = %363, %321
  call void @llvm.lifetime.end.p0(i64 50, ptr %26) #6
  br label %388

388:                                              ; preds = %387, %304
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %389

389:                                              ; preds = %388, %289
  call void @llvm.lifetime.end.p0(i64 3104, ptr %24) #6
  br label %390

390:                                              ; preds = %389, %285
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %722

391:                                              ; preds = %269
  %392 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %393 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %392, ptr noundef @.str, ptr noundef @.str.12)
          to label %394 unwind label %64

394:                                              ; preds = %391
  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 %395

395:                                              ; preds = %452, %394
  %396 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %397 = trunc i8 %396 to i1
  %398 = xor i1 %397, true
  br i1 %398, label %399, label %467

399:                                              ; preds = %395
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  call void @_ZN6tflite18MicroErrorReporterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  store ptr %28, ptr %29, align 8, !tbaa !9
  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 %400 unwind label %411

400:                                              ; preds = %399
  call void @llvm.lifetime.start.p0(i64 3104, ptr %31) #6
  br label %401

401:                                              ; preds = %400
  %402 = load ptr, ptr %29, align 8, !tbaa !9
  %403 = getelementptr inbounds %"class.(anonymous namespace)::WindowTestConfig", ptr %30, i32 0, i32 0
  %404 = invoke noundef i32 @_Z19WindowPopulateStatePN6tflite13ErrorReporterEPK12WindowConfigP11WindowStatei(ptr noundef %402, ptr noundef %403, ptr noundef %31, i32 noundef 1000)
          to label %405 unwind label %415

405:                                              ; preds = %401
  %406 = icmp ne i32 %404, 0
  br i1 %406, label %419, label %407

407:                                              ; preds = %405
  %408 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %409 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %408, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 116)
          to label %410 unwind label %415

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

411:                                              ; preds = %399
  %412 = landingpad { ptr, i32 }
          cleanup
  %413 = extractvalue { ptr, i32 } %412, 0
  store ptr %413, ptr %7, align 8
  %414 = extractvalue { ptr, i32 } %412, 1
  store i32 %414, ptr %8, align 4
  br label %466

415:                                              ; preds = %407, %401
  %416 = landingpad { ptr, i32 }
          cleanup
  %417 = extractvalue { ptr, i32 } %416, 0
  store ptr %417, ptr %7, align 8
  %418 = extractvalue { ptr, i32 } %416, 1
  store i32 %418, ptr %8, align 4
  br label %465

419:                                              ; preds = %410, %405
  br label %420

420:                                              ; preds = %419
  br label %421

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

422:                                              ; preds = %421
  %423 = invoke noundef i32 @_Z20WindowProcessSamplesP11WindowStatePKsmPm(ptr noundef %31, ptr noundef @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef %32)
          to label %424 unwind label %430

424:                                              ; preds = %422
  %425 = icmp ne i32 %423, 0
  br i1 %425, label %434, label %426

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

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

430:                                              ; preds = %442, %426, %422
  %431 = landingpad { ptr, i32 }
          cleanup
  %432 = extractvalue { ptr, i32 } %431, 0
  store ptr %432, ptr %7, align 8
  %433 = extractvalue { ptr, i32 } %431, 1
  store i32 %433, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br label %465

434:                                              ; preds = %429, %424
  br label %435

435:                                              ; preds = %434
  br label %436

436:                                              ; preds = %435
  br label %437

437:                                              ; preds = %436
  %438 = getelementptr inbounds %struct.WindowState, ptr %31, i32 0, i32 6
  %439 = load i16, ptr %438, align 8, !tbaa !27
  %440 = sext i16 %439 to i32
  %441 = icmp ne i32 %440, 32256
  br i1 %441, label %442, label %449

442:                                              ; preds = %437
  %443 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %444 = getelementptr inbounds %struct.WindowState, ptr %31, i32 0, i32 6
  %445 = load i16, ptr %444, align 8, !tbaa !27
  %446 = sext i16 %445 to i32
  %447 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %443, ptr noundef @.str.13, ptr noundef @.str.3, i32 noundef 123, i32 noundef %446, i32 noundef 32256)
          to label %448 unwind label %430

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

449:                                              ; preds = %448, %437
  br label %450

450:                                              ; preds = %449
  br label %451

451:                                              ; preds = %450
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 3104, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  br label %452

452:                                              ; preds = %451
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %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 0, i32 1
  %457 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %458 = add nsw i32 %457, %456
  store i32 %458, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %459 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %460 = trunc i8 %459 to i1
  %461 = zext i1 %460 to i64
  %462 = select i1 %460, i32 1, i32 0
  %463 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %464 = add nsw i32 %463, %462
  store i32 %464, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %395, !llvm.loop !28

465:                                              ; preds = %430, %415
  call void @llvm.lifetime.end.p0(i64 3104, ptr %31) #6
  br label %466

466:                                              ; preds = %465, %411
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  br label %722

467:                                              ; preds = %395
  %468 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %469 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %468, ptr noundef @.str, ptr noundef @.str.14)
          to label %470 unwind label %64

470:                                              ; preds = %467
  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 %471

471:                                              ; preds = %587, %470
  %472 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %473 = trunc i8 %472 to i1
  %474 = xor i1 %473, true
  br i1 %474, label %475, label %604

475:                                              ; preds = %471
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  call void @_ZN6tflite18MicroErrorReporterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  store ptr %33, ptr %34, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #6
  invoke void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %35)
          to label %476 unwind label %487

476:                                              ; preds = %475
  call void @llvm.lifetime.start.p0(i64 3104, ptr %36) #6
  br label %477

477:                                              ; preds = %476
  %478 = load ptr, ptr %34, align 8, !tbaa !9
  %479 = getelementptr inbounds %"class.(anonymous namespace)::WindowTestConfig", ptr %35, i32 0, i32 0
  %480 = invoke noundef i32 @_Z19WindowPopulateStatePN6tflite13ErrorReporterEPK12WindowConfigP11WindowStatei(ptr noundef %478, ptr noundef %479, ptr noundef %36, i32 noundef 1000)
          to label %481 unwind label %491

481:                                              ; preds = %477
  %482 = icmp ne i32 %480, 0
  br i1 %482, label %495, label %483

483:                                              ; preds = %481
  %484 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %485 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %484, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 133)
          to label %486 unwind label %491

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

487:                                              ; preds = %475
  %488 = landingpad { ptr, i32 }
          cleanup
  %489 = extractvalue { ptr, i32 } %488, 0
  store ptr %489, ptr %7, align 8
  %490 = extractvalue { ptr, i32 } %488, 1
  store i32 %490, ptr %8, align 4
  br label %603

491:                                              ; preds = %483, %477
  %492 = landingpad { ptr, i32 }
          cleanup
  %493 = extractvalue { ptr, i32 } %492, 0
  store ptr %493, ptr %7, align 8
  %494 = extractvalue { ptr, i32 } %492, 1
  store i32 %494, ptr %8, align 4
  br label %602

495:                                              ; preds = %486, %481
  br label %496

496:                                              ; preds = %495
  br label %497

497:                                              ; preds = %496
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  br label %498

498:                                              ; preds = %497
  %499 = invoke noundef i32 @_Z20WindowProcessSamplesP11WindowStatePKsmPm(ptr noundef %36, ptr noundef @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef %37)
          to label %500 unwind label %506

500:                                              ; preds = %498
  %501 = icmp ne i32 %499, 0
  br i1 %501, label %510, label %502

502:                                              ; preds = %500
  %503 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %504 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %503, ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 138)
          to label %505 unwind label %506

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

506:                                              ; preds = %517, %513, %502, %498
  %507 = landingpad { ptr, i32 }
          cleanup
  %508 = extractvalue { ptr, i32 } %507, 0
  store ptr %508, ptr %7, align 8
  %509 = extractvalue { ptr, i32 } %507, 1
  store i32 %509, ptr %8, align 4
  br label %601

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

511:                                              ; preds = %510
  br label %512

512:                                              ; preds = %511
  br label %513

513:                                              ; preds = %512
  %514 = invoke noundef i32 @_Z20WindowProcessSamplesP11WindowStatePKsmPm(ptr noundef %36, ptr noundef getelementptr inbounds (i16, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 25), i64 noundef 11, ptr noundef %37)
          to label %515 unwind label %506

515:                                              ; preds = %513
  %516 = icmp ne i32 %514, 0
  br i1 %516, label %521, label %517

517:                                              ; preds = %515
  %518 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %519 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %518, ptr noundef @.str.15, ptr noundef @.str.3, i32 noundef 142)
          to label %520 unwind label %506

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

521:                                              ; preds = %520, %515
  br label %522

522:                                              ; preds = %521
  br label %523

523:                                              ; preds = %522
  call void @llvm.lifetime.start.p0(i64 50, ptr %38) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %38, ptr align 16 @__const.main.expected.16, i64 50, i1 false)
  br label %524

524:                                              ; preds = %523
  %525 = getelementptr inbounds %struct.WindowState, ptr %36, i32 0, i32 0
  %526 = load i64, ptr %525, align 8, !tbaa !15
  %527 = icmp ne i64 %526, 25
  br i1 %527, label %528, label %538

528:                                              ; preds = %524
  %529 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %530 = getelementptr inbounds %struct.WindowState, ptr %36, i32 0, i32 0
  %531 = load i64, ptr %530, align 8, !tbaa !15
  %532 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %529, ptr noundef @.str.4, ptr noundef @.str.3, i32 noundef 147, i64 noundef %531, i64 noundef 25)
          to label %533 unwind label %534

533:                                              ; preds = %528
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %538

534:                                              ; preds = %528
  %535 = landingpad { ptr, i32 }
          cleanup
  %536 = extractvalue { ptr, i32 } %535, 0
  store ptr %536, ptr %7, align 8
  %537 = extractvalue { ptr, i32 } %535, 1
  store i32 %537, ptr %8, align 4
  br label %600

538:                                              ; preds = %533, %524
  br label %539

539:                                              ; preds = %538
  br label %540

540:                                              ; preds = %539
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #6
  store i32 0, ptr %39, align 4, !tbaa !5
  br label %541

541:                                              ; preds = %583, %540
  %542 = load i32, ptr %39, align 4, !tbaa !5
  %543 = sext i32 %542 to i64
  %544 = getelementptr inbounds %struct.WindowState, ptr %36, i32 0, i32 0
  %545 = load i64, ptr %544, align 8, !tbaa !15
  %546 = icmp ult i64 %543, %545
  br i1 %546, label %547, label %586

547:                                              ; preds = %541
  br label %548

548:                                              ; preds = %547
  %549 = getelementptr inbounds %struct.WindowState, ptr %36, i32 0, i32 5
  %550 = load i32, ptr %39, align 4, !tbaa !5
  %551 = sext i32 %550 to i64
  %552 = getelementptr inbounds [512 x i16], ptr %549, i64 0, i64 %551
  %553 = load i16, ptr %552, align 2, !tbaa !19
  %554 = sext i16 %553 to i32
  %555 = load i32, ptr %39, align 4, !tbaa !5
  %556 = sext i32 %555 to i64
  %557 = getelementptr inbounds [25 x i16], ptr %38, i64 0, i64 %556
  %558 = load i16, ptr %557, align 2, !tbaa !19
  %559 = sext i16 %558 to i32
  %560 = icmp ne i32 %554, %559
  br i1 %560, label %561, label %580

561:                                              ; preds = %548
  %562 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %563 = getelementptr inbounds %struct.WindowState, ptr %36, i32 0, i32 5
  %564 = load i32, ptr %39, align 4, !tbaa !5
  %565 = sext i32 %564 to i64
  %566 = getelementptr inbounds [512 x i16], ptr %563, i64 0, i64 %565
  %567 = load i16, ptr %566, align 2, !tbaa !19
  %568 = sext i16 %567 to i32
  %569 = load i32, ptr %39, align 4, !tbaa !5
  %570 = sext i32 %569 to i64
  %571 = getelementptr inbounds [25 x i16], ptr %38, i64 0, i64 %570
  %572 = load i16, ptr %571, align 2, !tbaa !19
  %573 = sext i16 %572 to i32
  %574 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %562, ptr noundef @.str.11, ptr noundef @.str.3, i32 noundef 150, i32 noundef %568, i32 noundef %573)
          to label %575 unwind label %576

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

576:                                              ; preds = %561
  %577 = landingpad { ptr, i32 }
          cleanup
  %578 = extractvalue { ptr, i32 } %577, 0
  store ptr %578, ptr %7, align 8
  %579 = extractvalue { ptr, i32 } %577, 1
  store i32 %579, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  br label %600

580:                                              ; preds = %575, %548
  br label %581

581:                                              ; preds = %580
  br label %582

582:                                              ; preds = %581
  br label %583

583:                                              ; preds = %582
  %584 = load i32, ptr %39, align 4, !tbaa !5
  %585 = add nsw i32 %584, 1
  store i32 %585, ptr %39, align 4, !tbaa !5
  br label %541, !llvm.loop !29

586:                                              ; preds = %541
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 50, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 3104, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %587

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

600:                                              ; preds = %576, %534
  call void @llvm.lifetime.end.p0(i64 50, ptr %38) #6
  br label %601

601:                                              ; preds = %600, %506
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  br label %602

602:                                              ; preds = %601, %491
  call void @llvm.lifetime.end.p0(i64 3104, ptr %36) #6
  br label %603

603:                                              ; preds = %602, %487
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %722

604:                                              ; preds = %471
  %605 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %606 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %605, ptr noundef @.str, ptr noundef @.str.17)
          to label %607 unwind label %64

607:                                              ; preds = %604
  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 %608

608:                                              ; preds = %687, %607
  %609 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %610 = trunc i8 %609 to i1
  %611 = xor i1 %610, true
  br i1 %611, label %612, label %702

612:                                              ; preds = %608
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #6
  call void @_ZN6tflite18MicroErrorReporterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %40) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #6
  store ptr %40, ptr %41, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #6
  invoke void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %42)
          to label %613 unwind label %624

613:                                              ; preds = %612
  call void @llvm.lifetime.start.p0(i64 3104, ptr %43) #6
  br label %614

614:                                              ; preds = %613
  %615 = load ptr, ptr %41, align 8, !tbaa !9
  %616 = getelementptr inbounds %"class.(anonymous namespace)::WindowTestConfig", ptr %42, i32 0, i32 0
  %617 = invoke noundef i32 @_Z19WindowPopulateStatePN6tflite13ErrorReporterEPK12WindowConfigP11WindowStatei(ptr noundef %615, ptr noundef %616, ptr noundef %43, i32 noundef 1000)
          to label %618 unwind label %628

618:                                              ; preds = %614
  %619 = icmp ne i32 %617, 0
  br i1 %619, label %632, label %620

620:                                              ; preds = %618
  %621 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %622 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %621, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 161)
          to label %623 unwind label %628

623:                                              ; preds = %620
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %632

624:                                              ; preds = %612
  %625 = landingpad { ptr, i32 }
          cleanup
  %626 = extractvalue { ptr, i32 } %625, 0
  store ptr %626, ptr %7, align 8
  %627 = extractvalue { ptr, i32 } %625, 1
  store i32 %627, ptr %8, align 4
  br label %701

628:                                              ; preds = %620, %614
  %629 = landingpad { ptr, i32 }
          cleanup
  %630 = extractvalue { ptr, i32 } %629, 0
  store ptr %630, ptr %7, align 8
  %631 = extractvalue { ptr, i32 } %629, 1
  store i32 %631, ptr %8, align 4
  br label %700

632:                                              ; preds = %623, %618
  br label %633

633:                                              ; preds = %632
  br label %634

634:                                              ; preds = %633
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #6
  br label %635

635:                                              ; preds = %634
  %636 = invoke noundef i32 @_Z20WindowProcessSamplesP11WindowStatePKsmPm(ptr noundef %43, ptr noundef @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef %44)
          to label %637 unwind label %643

637:                                              ; preds = %635
  %638 = icmp ne i32 %636, 0
  br i1 %638, label %647, label %639

639:                                              ; preds = %637
  %640 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %641 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %640, ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 166)
          to label %642 unwind label %643

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

643:                                              ; preds = %678, %668, %665, %661, %654, %650, %639, %635
  %644 = landingpad { ptr, i32 }
          cleanup
  %645 = extractvalue { ptr, i32 } %644, 0
  store ptr %645, ptr %7, align 8
  %646 = extractvalue { ptr, i32 } %644, 1
  store i32 %646, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #6
  br label %700

647:                                              ; preds = %642, %637
  br label %648

648:                                              ; preds = %647
  br label %649

649:                                              ; preds = %648
  br label %650

650:                                              ; preds = %649
  %651 = invoke noundef i32 @_Z20WindowProcessSamplesP11WindowStatePKsmPm(ptr noundef %43, ptr noundef getelementptr inbounds (i16, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 25), i64 noundef 11, ptr noundef %44)
          to label %652 unwind label %643

652:                                              ; preds = %650
  %653 = icmp ne i32 %651, 0
  br i1 %653, label %658, label %654

654:                                              ; preds = %652
  %655 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %656 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %655, ptr noundef @.str.15, ptr noundef @.str.3, i32 noundef 170)
          to label %657 unwind label %643

657:                                              ; preds = %654
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %658

658:                                              ; preds = %657, %652
  br label %659

659:                                              ; preds = %658
  br label %660

660:                                              ; preds = %659
  br label %661

661:                                              ; preds = %660
  %662 = invoke noundef i32 @_Z20WindowProcessSamplesP11WindowStatePKsmPm(ptr noundef %43, ptr noundef getelementptr inbounds (i16, ptr getelementptr inbounds (i16, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 25), i64 10), i64 noundef 1, ptr noundef %44)
          to label %663 unwind label %643

663:                                              ; preds = %661
  %664 = icmp ne i32 0, %662
  br i1 %664, label %665, label %671

665:                                              ; preds = %663
  %666 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %667 = invoke noundef i32 @_Z20WindowProcessSamplesP11WindowStatePKsmPm(ptr noundef %43, ptr noundef getelementptr inbounds (i16, ptr getelementptr inbounds (i16, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 25), i64 10), i64 noundef 1, ptr noundef %44)
          to label %668 unwind label %643

668:                                              ; preds = %665
  %669 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %666, ptr noundef @.str.18, ptr noundef @.str.3, i32 noundef 176, i32 noundef 0, i32 noundef %667)
          to label %670 unwind label %643

670:                                              ; preds = %668
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %671

671:                                              ; preds = %670, %663
  br label %672

672:                                              ; preds = %671
  br label %673

673:                                              ; preds = %672
  br label %674

674:                                              ; preds = %673
  %675 = getelementptr inbounds %struct.WindowState, ptr %43, i32 0, i32 4
  %676 = load i64, ptr %675, align 8, !tbaa !31
  %677 = icmp ne i64 %676, 16
  br i1 %677, label %678, label %684

678:                                              ; preds = %674
  %679 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %680 = getelementptr inbounds %struct.WindowState, ptr %43, i32 0, i32 4
  %681 = load i64, ptr %680, align 8, !tbaa !31
  %682 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %679, ptr noundef @.str.19, ptr noundef @.str.3, i32 noundef 180, i64 noundef %681, i64 noundef 16)
          to label %683 unwind label %643

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

684:                                              ; preds = %683, %674
  br label %685

685:                                              ; preds = %684
  br label %686

686:                                              ; preds = %685
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 3104, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %40) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  br label %687

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

700:                                              ; preds = %643, %628
  call void @llvm.lifetime.end.p0(i64 3104, ptr %43) #6
  br label %701

701:                                              ; preds = %700, %624
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %40) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  br label %722

702:                                              ; preds = %608
  %703 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %704 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %705 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %706 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %707 = add nsw i32 %705, %706
  %708 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %703, ptr noundef @.str.20, i32 noundef %704, i32 noundef %707)
          to label %709 unwind label %64

709:                                              ; preds = %702
  %710 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %711 = icmp eq i32 %710, 0
  br i1 %711, label %712, label %716

712:                                              ; preds = %709
  %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.21)
          to label %715 unwind label %64

715:                                              ; preds = %712
  br label %720

716:                                              ; preds = %709
  %717 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %718 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %717, ptr noundef @.str.22)
          to label %719 unwind label %64

719:                                              ; preds = %716
  br label %720

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

722:                                              ; preds = %701, %603, %466, %390, %264, %157, %64
  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 %723

723:                                              ; preds = %722
  %724 = load ptr, ptr %7, align 8
  %725 = load i32, ptr %8, align 4
  %726 = insertvalue { ptr, i32 } poison, ptr %724, 0
  %727 = insertvalue { ptr, i32 } %726, i32 %725, 1
  resume { ptr, i32 } %727
}

; 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 noundef i32 @_Z19WindowPopulateStatePN6tflite13ErrorReporterEPK12WindowConfigP11WindowStatei(ptr noundef, 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

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

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

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

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, !7, i64 8, !17, i64 1032, !7, i64 1040, !17, i64 2064, !7, i64 2072, !18, i64 3096}
!17 = !{!"long", !7, i64 0}
!18 = !{!"short", !7, i64 0}
!19 = !{!18, !18, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !21}
!24 = distinct !{!24, !21}
!25 = distinct !{!25, !21}
!26 = distinct !{!26, !21}
!27 = !{!16, !18, i64 3096}
!28 = distinct !{!28, !21}
!29 = distinct !{!29, !21}
!30 = distinct !{!30, !21}
!31 = !{!16, !17, i64 2064}
!32 = distinct !{!32, !21}


; 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, [512 x i16], i64, [512 x i16], i64, [512 x i16], 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 [90 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [138 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.tflite::MicroErrorReporter", align 8
  %5 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %6 = alloca %struct.WindowState, align 8
  %7 = alloca %"class.tflite::MicroErrorReporter", align 8
  %8 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %9 = alloca %struct.WindowState, align 8
  %10 = alloca i64, align 8
  %11 = alloca %"class.tflite::MicroErrorReporter", align 8
  %12 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %13 = alloca %struct.WindowState, align 8
  %14 = alloca i64, align 8
  %15 = alloca %"class.tflite::MicroErrorReporter", align 8
  %16 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %17 = alloca %struct.WindowState, align 8
  %18 = alloca i64, align 8
  %19 = alloca %"class.tflite::MicroErrorReporter", align 8
  %20 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %21 = alloca %struct.WindowState, align 8
  %22 = alloca i64, align 8
  %23 = alloca %"class.tflite::MicroErrorReporter", align 8
  %24 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %25 = alloca %struct.WindowState, align 8
  %26 = 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
  %27 = 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 %28 unwind label %36

28:                                               ; 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
  %29 = getelementptr inbounds i8, ptr %6, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  call void @_ZN6tflite18MicroErrorReporterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5
  call void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5)
  call void @llvm.lifetime.start.p0(i64 3104, ptr nonnull %6) #5
  %30 = invoke noundef i32 @_Z19WindowPopulateStatePN6tflite13ErrorReporterEPK12WindowConfigP11WindowStatei(ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, i32 noundef 1000)
          to label %31 unwind label %38

31:                                               ; preds = %28
  %.not102 = icmp eq i32 %30, 0
  br i1 %.not102, label %32, label %40

32:                                               ; preds = %31
  %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 nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 52)
          to label %35 unwind label %38

35:                                               ; preds = %32
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %40

36:                                               ; preds = %.invoke, %._crit_edge137, %._crit_edge134, %._crit_edge127, %._crit_edge124, %._crit_edge117, %._crit_edge113, %2
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %463

38:                                               ; preds = %32, %28
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %64

40:                                               ; preds = %35, %31
  %41 = load i64, ptr %6, align 8, !tbaa !13
  %.not103 = icmp eq i64 %41, 25
  br i1 %.not103, label %.lr.ph.preheader, label %42

42:                                               ; preds = %40
  %43 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %44 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.3, i32 noundef 58, i64 noundef %41, i64 noundef 25)
          to label %47 unwind label %45

45:                                               ; preds = %42
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %64

47:                                               ; preds = %42
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre = load i64, ptr %6, align 8, !tbaa !13
  %.not138 = icmp eq i64 %.pre, 0
  br i1 %.not138, label %._crit_edge113, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %40, %47
  %.ph167 = phi i64 [ 25, %40 ], [ %.pre, %47 ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %61
  %48 = phi i64 [ %62, %61 ], [ %.ph167, %.lr.ph.preheader ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %61 ], [ 0, %.lr.ph.preheader ]
  %49 = getelementptr inbounds [512 x i16], ptr %29, i64 0, i64 %indvars.iv
  %50 = load i16, ptr %49, align 2, !tbaa !17
  %51 = getelementptr inbounds [25 x i16], ptr @__const.main.expected, i64 0, i64 %indvars.iv
  %52 = load i16, ptr %51, align 2, !tbaa !17
  %.not105 = icmp eq i16 %50, %52
  br i1 %.not105, label %61, label %53

53:                                               ; preds = %.lr.ph
  %54 = sext i16 %52 to i32
  %55 = sext i16 %50 to i32
  %56 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %57 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.3, i32 noundef 61, i32 noundef %55, i32 noundef %54)
          to label %58 unwind label %59

58:                                               ; preds = %53
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre151 = load i64, ptr %6, align 8, !tbaa !13
  br label %61

59:                                               ; preds = %53
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %64

61:                                               ; preds = %.lr.ph, %58
  %62 = phi i64 [ %48, %.lr.ph ], [ %.pre151, %58 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %63 = icmp ugt i64 %62, %indvars.iv.next
  br i1 %63, label %.lr.ph, label %._crit_edge113, !llvm.loop !18

64:                                               ; preds = %45, %59, %38
  %.pn106.pn = phi { ptr, i32 } [ %39, %38 ], [ %60, %59 ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 3104, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br label %463

._crit_edge113:                                   ; preds = %61, %47
  call void @llvm.lifetime.end.p0(i64 3104, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %65 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !20, !noundef !21
  %66 = xor i8 %65, 1
  %not.104 = zext nneg i8 %66 to i32
  %67 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %68 = add nsw i32 %67, %not.104
  store i32 %68, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %69 = zext nneg i8 %65 to i32
  %70 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %71 = add nsw i32 %70, %69
  store i32 %71, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %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, ptr noundef nonnull @.str.6)
          to label %74 unwind label %36

74:                                               ; preds = %._crit_edge113
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %75 = getelementptr inbounds i8, ptr %9, i64 1040
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  call void @_ZN6tflite18MicroErrorReporterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  call void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8)
  call void @llvm.lifetime.start.p0(i64 3104, ptr nonnull %9) #5
  %76 = invoke noundef i32 @_Z19WindowPopulateStatePN6tflite13ErrorReporterEPK12WindowConfigP11WindowStatei(ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9, i32 noundef 1000)
          to label %77 unwind label %82

77:                                               ; preds = %74
  %.not95 = icmp eq i32 %76, 0
  br i1 %.not95, label %78, label %84

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

81:                                               ; preds = %78
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %84

82:                                               ; preds = %78, %74
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %245

84:                                               ; preds = %81, %77
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %85 = invoke noundef i32 @_Z20WindowProcessSamplesP11WindowStatePKsmPm(ptr noundef nonnull %9, ptr noundef nonnull @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef nonnull %10)
          to label %86 unwind label %91

86:                                               ; preds = %84
  %.not96 = icmp eq i32 %85, 0
  br i1 %.not96, label %87, label %93

87:                                               ; preds = %86
  %88 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %89 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 77)
          to label %90 unwind label %91

90:                                               ; preds = %87
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %93

91:                                               ; preds = %87, %84
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %244

93:                                               ; preds = %90, %86
  %94 = load i16, ptr %75, align 8, !tbaa !17
  %95 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 20), align 4, !tbaa !17
  %.not98 = icmp eq i16 %94, %95
  br i1 %.not98, label %104, label %96

96:                                               ; preds = %93
  %97 = sext i16 %95 to i32
  %98 = sext i16 %94 to i32
  %99 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %100 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 81, i32 noundef %98, i32 noundef %97)
          to label %101 unwind label %102

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

102:                                              ; preds = %238, %228, %218, %208, %198, %188, %178, %168, %158, %148, %138, %128, %118, %108, %96
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %244

104:                                              ; preds = %93, %101
  %105 = getelementptr inbounds i8, ptr %9, i64 1042
  %106 = load i16, ptr %105, align 2, !tbaa !17
  %107 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 22), align 2, !tbaa !17
  %.not98.1 = icmp eq i16 %106, %107
  br i1 %.not98.1, label %114, label %108

108:                                              ; preds = %104
  %109 = sext i16 %107 to i32
  %110 = sext i16 %106 to i32
  %111 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %112 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %111, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 81, i32 noundef %110, i32 noundef %109)
          to label %113 unwind label %102

113:                                              ; preds = %108
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %114

114:                                              ; preds = %113, %104
  %115 = getelementptr inbounds i8, ptr %9, i64 1044
  %116 = load i16, ptr %115, align 4, !tbaa !17
  %117 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 24), align 8, !tbaa !17
  %.not98.2 = icmp eq i16 %116, %117
  br i1 %.not98.2, label %124, label %118

118:                                              ; preds = %114
  %119 = sext i16 %117 to i32
  %120 = sext i16 %116 to i32
  %121 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %122 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %121, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 81, i32 noundef %120, i32 noundef %119)
          to label %123 unwind label %102

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

124:                                              ; preds = %123, %114
  %125 = getelementptr inbounds i8, ptr %9, i64 1046
  %126 = load i16, ptr %125, align 2, !tbaa !17
  %127 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 26), align 2, !tbaa !17
  %.not98.3 = icmp eq i16 %126, %127
  br i1 %.not98.3, label %134, label %128

128:                                              ; preds = %124
  %129 = sext i16 %127 to i32
  %130 = sext i16 %126 to i32
  %131 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %132 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 81, i32 noundef %130, i32 noundef %129)
          to label %133 unwind label %102

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

134:                                              ; preds = %133, %124
  %135 = getelementptr inbounds i8, ptr %9, i64 1048
  %136 = load i16, ptr %135, align 8, !tbaa !17
  %137 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 28), align 4, !tbaa !17
  %.not98.4 = icmp eq i16 %136, %137
  br i1 %.not98.4, label %144, label %138

138:                                              ; preds = %134
  %139 = sext i16 %137 to i32
  %140 = sext i16 %136 to i32
  %141 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %142 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %141, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 81, i32 noundef %140, i32 noundef %139)
          to label %143 unwind label %102

143:                                              ; preds = %138
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %144

144:                                              ; preds = %143, %134
  %145 = getelementptr inbounds i8, ptr %9, i64 1050
  %146 = load i16, ptr %145, align 2, !tbaa !17
  %147 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 30), align 2, !tbaa !17
  %.not98.5 = icmp eq i16 %146, %147
  br i1 %.not98.5, label %154, label %148

148:                                              ; preds = %144
  %149 = sext i16 %147 to i32
  %150 = sext i16 %146 to i32
  %151 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %152 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %151, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 81, i32 noundef %150, i32 noundef %149)
          to label %153 unwind label %102

153:                                              ; preds = %148
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %154

154:                                              ; preds = %153, %144
  %155 = getelementptr inbounds i8, ptr %9, i64 1052
  %156 = load i16, ptr %155, align 4, !tbaa !17
  %157 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 32), align 16, !tbaa !17
  %.not98.6 = icmp eq i16 %156, %157
  br i1 %.not98.6, label %164, label %158

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

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

164:                                              ; preds = %163, %154
  %165 = getelementptr inbounds i8, ptr %9, i64 1054
  %166 = load i16, ptr %165, align 2, !tbaa !17
  %167 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 34), align 2, !tbaa !17
  %.not98.7 = icmp eq i16 %166, %167
  br i1 %.not98.7, label %174, label %168

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

173:                                              ; preds = %168
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %174

174:                                              ; preds = %173, %164
  %175 = getelementptr inbounds i8, ptr %9, i64 1056
  %176 = load i16, ptr %175, align 8, !tbaa !17
  %177 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 36), align 4, !tbaa !17
  %.not98.8 = icmp eq i16 %176, %177
  br i1 %.not98.8, label %184, label %178

178:                                              ; preds = %174
  %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 81, i32 noundef %180, i32 noundef %179)
          to label %183 unwind label %102

183:                                              ; preds = %178
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %184

184:                                              ; preds = %183, %174
  %185 = getelementptr inbounds i8, ptr %9, i64 1058
  %186 = load i16, ptr %185, align 2, !tbaa !17
  %187 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 38), align 2, !tbaa !17
  %.not98.9 = icmp eq i16 %186, %187
  br i1 %.not98.9, label %194, label %188

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

193:                                              ; preds = %188
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %194

194:                                              ; preds = %193, %184
  %195 = getelementptr inbounds i8, ptr %9, i64 1060
  %196 = load i16, ptr %195, align 4, !tbaa !17
  %197 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 40), align 8, !tbaa !17
  %.not98.10 = icmp eq i16 %196, %197
  br i1 %.not98.10, label %204, label %198

198:                                              ; preds = %194
  %199 = sext i16 %197 to i32
  %200 = sext i16 %196 to i32
  %201 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %202 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %201, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 81, i32 noundef %200, i32 noundef %199)
          to label %203 unwind label %102

203:                                              ; preds = %198
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %204

204:                                              ; preds = %203, %194
  %205 = getelementptr inbounds i8, ptr %9, i64 1062
  %206 = load i16, ptr %205, align 2, !tbaa !17
  %207 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 42), align 2, !tbaa !17
  %.not98.11 = icmp eq i16 %206, %207
  br i1 %.not98.11, label %214, label %208

208:                                              ; preds = %204
  %209 = sext i16 %207 to i32
  %210 = sext i16 %206 to i32
  %211 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %212 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %211, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 81, i32 noundef %210, i32 noundef %209)
          to label %213 unwind label %102

213:                                              ; preds = %208
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %214

214:                                              ; preds = %213, %204
  %215 = getelementptr inbounds i8, ptr %9, i64 1064
  %216 = load i16, ptr %215, align 8, !tbaa !17
  %217 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 44), align 4, !tbaa !17
  %.not98.12 = icmp eq i16 %216, %217
  br i1 %.not98.12, label %224, label %218

218:                                              ; preds = %214
  %219 = sext i16 %217 to i32
  %220 = sext i16 %216 to i32
  %221 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %222 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %221, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 81, i32 noundef %220, i32 noundef %219)
          to label %223 unwind label %102

223:                                              ; preds = %218
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %224

224:                                              ; preds = %223, %214
  %225 = getelementptr inbounds i8, ptr %9, i64 1066
  %226 = load i16, ptr %225, align 2, !tbaa !17
  %227 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 46), align 2, !tbaa !17
  %.not98.13 = icmp eq i16 %226, %227
  br i1 %.not98.13, label %234, label %228

228:                                              ; preds = %224
  %229 = sext i16 %227 to i32
  %230 = sext i16 %226 to i32
  %231 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %232 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %231, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 81, i32 noundef %230, i32 noundef %229)
          to label %233 unwind label %102

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

234:                                              ; preds = %233, %224
  %235 = getelementptr inbounds i8, ptr %9, i64 1068
  %236 = load i16, ptr %235, align 4, !tbaa !17
  %237 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 48), align 16, !tbaa !17
  %.not98.14 = icmp eq i16 %236, %237
  br i1 %.not98.14, label %._crit_edge117, label %238

238:                                              ; preds = %234
  %239 = sext i16 %237 to i32
  %240 = sext i16 %236 to i32
  %241 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %242 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %241, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 81, i32 noundef %240, i32 noundef %239)
          to label %243 unwind label %102

243:                                              ; preds = %238
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %._crit_edge117

244:                                              ; preds = %102, %91
  %.pn99 = phi { ptr, i32 } [ %103, %102 ], [ %92, %91 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  br label %245

245:                                              ; preds = %244, %82
  %.pn99.pn = phi { ptr, i32 } [ %.pn99, %244 ], [ %83, %82 ]
  call void @llvm.lifetime.end.p0(i64 3104, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %463

._crit_edge117:                                   ; preds = %243, %234
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 3104, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %246 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !20, !noundef !21
  %247 = xor i8 %246, 1
  %not.97 = zext nneg i8 %247 to i32
  %248 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %249 = add nsw i32 %248, %not.97
  store i32 %249, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %250 = zext nneg i8 %246 to i32
  %251 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %252 = add nsw i32 %251, %250
  store i32 %252, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %253 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %254 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %253, ptr noundef nonnull @.str, ptr noundef nonnull @.str.9)
          to label %255 unwind label %36

255:                                              ; preds = %._crit_edge117
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %256 = getelementptr inbounds i8, ptr %13, i64 2072
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  call void @_ZN6tflite18MicroErrorReporterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  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 3104, ptr nonnull %13) #5
  %257 = invoke noundef i32 @_Z19WindowPopulateStatePN6tflite13ErrorReporterEPK12WindowConfigP11WindowStatei(ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, i32 noundef 1000)
          to label %258 unwind label %263

258:                                              ; preds = %255
  %.not86 = icmp eq i32 %257, 0
  br i1 %.not86, label %259, label %265

259:                                              ; preds = %258
  %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.2, ptr noundef nonnull @.str.3, i32 noundef 92)
          to label %262 unwind label %263

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

263:                                              ; preds = %259, %255
  %264 = landingpad { ptr, i32 }
          cleanup
  br label %299

265:                                              ; preds = %262, %258
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  %266 = invoke noundef i32 @_Z20WindowProcessSamplesP11WindowStatePKsmPm(ptr noundef nonnull %13, ptr noundef nonnull @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef nonnull %14)
          to label %267 unwind label %272

267:                                              ; preds = %265
  %.not87 = icmp eq i32 %266, 0
  br i1 %.not87, label %268, label %274

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

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

272:                                              ; preds = %268, %265
  %273 = landingpad { ptr, i32 }
          cleanup
  br label %298

274:                                              ; preds = %271, %267
  %275 = load i64, ptr %13, align 8, !tbaa !13
  %.not88 = icmp eq i64 %275, 25
  br i1 %.not88, label %.lr.ph120.preheader, label %276

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

279:                                              ; preds = %276
  %280 = landingpad { ptr, i32 }
          cleanup
  br label %298

281:                                              ; preds = %276
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre153 = load i64, ptr %13, align 8, !tbaa !13
  %.not139 = icmp eq i64 %.pre153, 0
  br i1 %.not139, label %._crit_edge124, label %.lr.ph120.preheader

.lr.ph120.preheader:                              ; preds = %274, %281
  %.ph166 = phi i64 [ 25, %274 ], [ %.pre153, %281 ]
  br label %.lr.ph120

.lr.ph120:                                        ; preds = %.lr.ph120.preheader, %295
  %282 = phi i64 [ %296, %295 ], [ %.ph166, %.lr.ph120.preheader ]
  %indvars.iv145 = phi i64 [ %indvars.iv.next146, %295 ], [ 0, %.lr.ph120.preheader ]
  %283 = getelementptr inbounds [512 x i16], ptr %256, i64 0, i64 %indvars.iv145
  %284 = load i16, ptr %283, align 2, !tbaa !17
  %285 = getelementptr inbounds [25 x i16], ptr @__const.main.expected.10, i64 0, i64 %indvars.iv145
  %286 = load i16, ptr %285, align 2, !tbaa !17
  %.not90 = icmp eq i16 %284, %286
  br i1 %.not90, label %295, label %287

287:                                              ; preds = %.lr.ph120
  %288 = sext i16 %286 to i32
  %289 = sext i16 %284 to i32
  %290 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %291 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %290, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.3, i32 noundef 105, i32 noundef %289, i32 noundef %288)
          to label %292 unwind label %293

292:                                              ; preds = %287
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre154 = load i64, ptr %13, align 8, !tbaa !13
  br label %295

293:                                              ; preds = %287
  %294 = landingpad { ptr, i32 }
          cleanup
  br label %298

295:                                              ; preds = %.lr.ph120, %292
  %296 = phi i64 [ %282, %.lr.ph120 ], [ %.pre154, %292 ]
  %indvars.iv.next146 = add nuw nsw i64 %indvars.iv145, 1
  %297 = icmp ugt i64 %296, %indvars.iv.next146
  br i1 %297, label %.lr.ph120, label %._crit_edge124, !llvm.loop !22

298:                                              ; preds = %279, %293, %272
  %.pn91.pn = phi { ptr, i32 } [ %273, %272 ], [ %294, %293 ], [ %280, %279 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  br label %299

299:                                              ; preds = %298, %263
  %.pn91.pn.pn = phi { ptr, i32 } [ %.pn91.pn, %298 ], [ %264, %263 ]
  call void @llvm.lifetime.end.p0(i64 3104, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br label %463

._crit_edge124:                                   ; preds = %295, %281
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 3104, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %300 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !20, !noundef !21
  %301 = xor i8 %300, 1
  %not.89 = zext nneg i8 %301 to i32
  %302 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %303 = add nsw i32 %302, %not.89
  store i32 %303, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %304 = zext nneg i8 %300 to i32
  %305 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %306 = add nsw i32 %305, %304
  store i32 %306, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %307 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %308 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %307, ptr noundef nonnull @.str, ptr noundef nonnull @.str.12)
          to label %309 unwind label %36

309:                                              ; preds = %._crit_edge124
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %310 = getelementptr inbounds i8, ptr %17, i64 3096
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  call void @_ZN6tflite18MicroErrorReporterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #5
  call void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16)
  call void @llvm.lifetime.start.p0(i64 3104, ptr nonnull %17) #5
  %311 = invoke noundef i32 @_Z19WindowPopulateStatePN6tflite13ErrorReporterEPK12WindowConfigP11WindowStatei(ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17, i32 noundef 1000)
          to label %312 unwind label %317

312:                                              ; preds = %309
  %.not80 = icmp eq i32 %311, 0
  br i1 %.not80, label %313, label %319

313:                                              ; preds = %312
  %314 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %315 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %314, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 116)
          to label %316 unwind label %317

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

317:                                              ; preds = %313, %309
  %318 = landingpad { ptr, i32 }
          cleanup
  br label %335

319:                                              ; preds = %316, %312
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  %320 = invoke noundef i32 @_Z20WindowProcessSamplesP11WindowStatePKsmPm(ptr noundef nonnull %17, ptr noundef nonnull @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef nonnull %18)
          to label %321 unwind label %326

321:                                              ; preds = %319
  %.not81 = icmp eq i32 %320, 0
  br i1 %.not81, label %322, label %328

322:                                              ; preds = %321
  %323 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %324 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %323, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 121)
          to label %325 unwind label %326

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

326:                                              ; preds = %330, %322, %319
  %327 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  br label %335

328:                                              ; preds = %321, %325
  %329 = load i16, ptr %310, align 8, !tbaa !23
  %.not82 = icmp eq i16 %329, 32256
  br i1 %.not82, label %._crit_edge127, label %330

330:                                              ; preds = %328
  %331 = sext i16 %329 to i32
  %332 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %333 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %332, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.3, i32 noundef 123, i32 noundef %331, i32 noundef 32256)
          to label %334 unwind label %326

334:                                              ; preds = %330
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %._crit_edge127

335:                                              ; preds = %326, %317
  %.pn83 = phi { ptr, i32 } [ %327, %326 ], [ %318, %317 ]
  call void @llvm.lifetime.end.p0(i64 3104, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  br label %463

._crit_edge127:                                   ; preds = %334, %328
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 3104, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %336 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !20, !noundef !21
  %337 = xor i8 %336, 1
  %not.85 = zext nneg i8 %337 to i32
  %338 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %339 = add nsw i32 %338, %not.85
  store i32 %339, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %340 = zext nneg i8 %336 to i32
  %341 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %342 = add nsw i32 %341, %340
  store i32 %342, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %343 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %344 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %343, ptr noundef nonnull @.str, ptr noundef nonnull @.str.14)
          to label %345 unwind label %36

345:                                              ; preds = %._crit_edge127
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %346 = getelementptr inbounds i8, ptr %21, i64 2072
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
  call void @_ZN6tflite18MicroErrorReporterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #5
  call void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20)
  call void @llvm.lifetime.start.p0(i64 3104, ptr nonnull %21) #5
  %347 = invoke noundef i32 @_Z19WindowPopulateStatePN6tflite13ErrorReporterEPK12WindowConfigP11WindowStatei(ptr noundef nonnull %19, ptr noundef nonnull %20, ptr noundef nonnull %21, i32 noundef 1000)
          to label %348 unwind label %353

348:                                              ; preds = %345
  %.not70 = icmp eq i32 %347, 0
  br i1 %.not70, label %349, label %355

349:                                              ; preds = %348
  %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.2, ptr noundef nonnull @.str.3, i32 noundef 133)
          to label %352 unwind label %353

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

353:                                              ; preds = %349, %345
  %354 = landingpad { ptr, i32 }
          cleanup
  br label %396

355:                                              ; preds = %352, %348
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #5
  %356 = invoke noundef i32 @_Z20WindowProcessSamplesP11WindowStatePKsmPm(ptr noundef nonnull %21, ptr noundef nonnull @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef nonnull %22)
          to label %357 unwind label %362

357:                                              ; preds = %355
  %.not71 = icmp eq i32 %356, 0
  br i1 %.not71, label %358, label %364

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

361:                                              ; preds = %358
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %364

362:                                              ; preds = %367, %364, %358, %355
  %363 = landingpad { ptr, i32 }
          cleanup
  br label %395

364:                                              ; preds = %357, %361
  %365 = invoke noundef i32 @_Z20WindowProcessSamplesP11WindowStatePKsmPm(ptr noundef nonnull %21, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 50), i64 noundef 11, ptr noundef nonnull %22)
          to label %366 unwind label %362

366:                                              ; preds = %364
  %.not72 = icmp eq i32 %365, 0
  br i1 %.not72, label %367, label %371

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

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

371:                                              ; preds = %370, %366
  %372 = load i64, ptr %21, align 8, !tbaa !13
  %.not73 = icmp eq i64 %372, 25
  br i1 %.not73, label %.lr.ph130.preheader, label %373

373:                                              ; preds = %371
  %374 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %375 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %374, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.3, i32 noundef 147, i64 noundef %372, i64 noundef 25)
          to label %378 unwind label %376

376:                                              ; preds = %373
  %377 = landingpad { ptr, i32 }
          cleanup
  br label %395

378:                                              ; preds = %373
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre156 = load i64, ptr %21, align 8, !tbaa !13
  %.not140 = icmp eq i64 %.pre156, 0
  br i1 %.not140, label %._crit_edge134, label %.lr.ph130.preheader

.lr.ph130.preheader:                              ; preds = %371, %378
  %.ph = phi i64 [ 25, %371 ], [ %.pre156, %378 ]
  br label %.lr.ph130

.lr.ph130:                                        ; preds = %.lr.ph130.preheader, %392
  %379 = phi i64 [ %393, %392 ], [ %.ph, %.lr.ph130.preheader ]
  %indvars.iv148 = phi i64 [ %indvars.iv.next149, %392 ], [ 0, %.lr.ph130.preheader ]
  %380 = getelementptr inbounds [512 x i16], ptr %346, i64 0, i64 %indvars.iv148
  %381 = load i16, ptr %380, align 2, !tbaa !17
  %382 = getelementptr inbounds [25 x i16], ptr @__const.main.expected.16, i64 0, i64 %indvars.iv148
  %383 = load i16, ptr %382, align 2, !tbaa !17
  %.not75 = icmp eq i16 %381, %383
  br i1 %.not75, label %392, label %384

384:                                              ; preds = %.lr.ph130
  %385 = sext i16 %383 to i32
  %386 = sext i16 %381 to i32
  %387 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %388 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %387, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.3, i32 noundef 150, i32 noundef %386, i32 noundef %385)
          to label %389 unwind label %390

389:                                              ; preds = %384
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre157 = load i64, ptr %21, align 8, !tbaa !13
  br label %392

390:                                              ; preds = %384
  %391 = landingpad { ptr, i32 }
          cleanup
  br label %395

392:                                              ; preds = %.lr.ph130, %389
  %393 = phi i64 [ %379, %.lr.ph130 ], [ %.pre157, %389 ]
  %indvars.iv.next149 = add nuw nsw i64 %indvars.iv148, 1
  %394 = icmp ugt i64 %393, %indvars.iv.next149
  br i1 %394, label %.lr.ph130, label %._crit_edge134, !llvm.loop !24

395:                                              ; preds = %376, %390, %362
  %.pn76.pn = phi { ptr, i32 } [ %363, %362 ], [ %391, %390 ], [ %377, %376 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  br label %396

396:                                              ; preds = %395, %353
  %.pn76.pn.pn = phi { ptr, i32 } [ %.pn76.pn, %395 ], [ %354, %353 ]
  call void @llvm.lifetime.end.p0(i64 3104, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #5
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  br label %463

._crit_edge134:                                   ; preds = %392, %378
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 3104, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #5
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %397 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !20, !noundef !21
  %398 = xor i8 %397, 1
  %not.74 = zext nneg i8 %398 to i32
  %399 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %400 = add nsw i32 %399, %not.74
  store i32 %400, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %401 = zext nneg i8 %397 to i32
  %402 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %403 = add nsw i32 %402, %401
  store i32 %403, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %404 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %405 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %404, ptr noundef nonnull @.str, ptr noundef nonnull @.str.17)
          to label %406 unwind label %36

406:                                              ; preds = %._crit_edge134
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %407 = getelementptr inbounds i8, ptr %25, i64 2064
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #5
  call void @_ZN6tflite18MicroErrorReporterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #5
  call void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24)
  call void @llvm.lifetime.start.p0(i64 3104, ptr nonnull %25) #5
  %408 = invoke noundef i32 @_Z19WindowPopulateStatePN6tflite13ErrorReporterEPK12WindowConfigP11WindowStatei(ptr noundef nonnull %23, ptr noundef nonnull %24, ptr noundef nonnull %25, i32 noundef 1000)
          to label %409 unwind label %414

409:                                              ; preds = %406
  %.not = icmp eq i32 %408, 0
  br i1 %.not, label %410, label %416

410:                                              ; preds = %409
  %411 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %412 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %411, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 161)
          to label %413 unwind label %414

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

414:                                              ; preds = %410, %406
  %415 = landingpad { ptr, i32 }
          cleanup
  br label %447

416:                                              ; preds = %413, %409
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #5
  %417 = invoke noundef i32 @_Z20WindowProcessSamplesP11WindowStatePKsmPm(ptr noundef nonnull %25, ptr noundef nonnull @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef nonnull %26)
          to label %418 unwind label %423

418:                                              ; preds = %416
  %.not65 = icmp eq i32 %417, 0
  br i1 %.not65, label %419, label %425

419:                                              ; preds = %418
  %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 nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 166)
          to label %422 unwind label %423

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

423:                                              ; preds = %443, %438, %435, %432, %428, %425, %419, %416
  %424 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #5
  br label %447

425:                                              ; preds = %418, %422
  %426 = invoke noundef i32 @_Z20WindowProcessSamplesP11WindowStatePKsmPm(ptr noundef nonnull %25, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 50), i64 noundef 11, ptr noundef nonnull %26)
          to label %427 unwind label %423

427:                                              ; preds = %425
  %.not66 = icmp eq i32 %426, 0
  br i1 %.not66, label %428, label %432

428:                                              ; preds = %427
  %429 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %430 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %429, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.3, i32 noundef 170)
          to label %431 unwind label %423

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

432:                                              ; preds = %427, %431
  %433 = invoke noundef i32 @_Z20WindowProcessSamplesP11WindowStatePKsmPm(ptr noundef nonnull %25, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 70), i64 noundef 1, ptr noundef nonnull %26)
          to label %434 unwind label %423

434:                                              ; preds = %432
  %.not67 = icmp eq i32 %433, 0
  br i1 %.not67, label %441, label %435

435:                                              ; preds = %434
  %436 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %437 = invoke noundef i32 @_Z20WindowProcessSamplesP11WindowStatePKsmPm(ptr noundef nonnull %25, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 70), i64 noundef 1, ptr noundef nonnull %26)
          to label %438 unwind label %423

438:                                              ; preds = %435
  %439 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %436, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.3, i32 noundef 176, i32 noundef 0, i32 noundef %437)
          to label %440 unwind label %423

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

441:                                              ; preds = %434, %440
  %442 = load i64, ptr %407, align 8, !tbaa !25
  %.not68 = icmp eq i64 %442, 16
  br i1 %.not68, label %._crit_edge137, label %443

443:                                              ; preds = %441
  %444 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %445 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %444, ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.3, i32 noundef 180, i64 noundef %442, i64 noundef 16)
          to label %446 unwind label %423

446:                                              ; preds = %443
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %._crit_edge137

447:                                              ; preds = %423, %414
  %.pn = phi { ptr, i32 } [ %424, %423 ], [ %415, %414 ]
  call void @llvm.lifetime.end.p0(i64 3104, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #5
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #5
  br label %463

._crit_edge137:                                   ; preds = %446, %441
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 3104, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #5
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %448 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !20, !noundef !21
  %449 = xor i8 %448, 1
  %not. = zext nneg i8 %449 to i32
  %450 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %451 = add nsw i32 %450, %not.
  store i32 %451, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %452 = zext nneg i8 %448 to i32
  %453 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %454 = add nsw i32 %453, %452
  store i32 %454, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %455 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %456 = add nsw i32 %454, %451
  %457 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %455, ptr noundef nonnull @.str.20, i32 noundef %451, i32 noundef %456)
          to label %.invoke unwind label %36

.invoke:                                          ; preds = %._crit_edge137
  %458 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %459 = icmp eq i32 %458, 0
  %460 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %.str.21..str.22 = select i1 %459, ptr @.str.21, ptr @.str.22
  %461 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %460, ptr noundef nonnull %.str.21..str.22)
          to label %462 unwind label %36

462:                                              ; 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

463:                                              ; preds = %447, %396, %335, %299, %245, %64, %36
  %.pn106.pn.pn = phi { ptr, i32 } [ %.pn106.pn, %64 ], [ %.pn99.pn, %245 ], [ %.pn91.pn.pn, %299 ], [ %.pn83, %335 ], [ %.pn76.pn.pn, %396 ], [ %.pn, %447 ], [ %37, %36 ]
  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 } %.pn106.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 noundef i32 @_Z19WindowPopulateStatePN6tflite13ErrorReporterEPK12WindowConfigP11WindowStatei(ptr noundef, ptr noundef, ptr noundef, i32 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

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

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

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, !7, i64 8, !15, i64 1032, !7, i64 1040, !15, i64 2064, !7, i64 2072, !16, i64 3096}
!15 = !{!"long", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!16, !16, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = distinct !{!22, !19}
!23 = !{!14, !16, i64 3096}
!24 = distinct !{!24, !19}
!25 = !{!14, !15, i64 2064}


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