; LLVM IR from tensorflow/tflite-micro :: tensorflow/lite/experimental/microfrontend/lib (frontend_test)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.(anonymous namespace)::FrontendTestConfig" = type { %struct.FrontendConfig }
%struct.FrontendConfig = type { %struct.WindowConfig, %struct.FilterbankConfig, %struct.NoiseReductionConfig, %struct.PcanGainControlConfig, %struct.LogScaleConfig }
%struct.WindowConfig = type { i64, i64 }
%struct.FilterbankConfig = type { i32, float, float, i32 }
%struct.NoiseReductionConfig = type { i32, float, float, float }
%struct.PcanGainControlConfig = type { i32, float, float, i32 }
%struct.LogScaleConfig = type { i32, i32 }
%struct.FrontendState = type { %struct.WindowState, %struct.FftState, %struct.FilterbankState, %struct.NoiseReductionState, %struct.PcanGainControlState, %struct.LogScaleState }
%struct.WindowState = type { i64, ptr, i64, ptr, i64, ptr, i16 }
%struct.FftState = type { ptr, ptr, i64, i64, ptr, i64 }
%struct.FilterbankState = type { i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.NoiseReductionState = type { i32, i16, i16, i16, i32, ptr }
%struct.PcanGainControlState = type { i32, ptr, i32, ptr, i32 }
%struct.LogScaleState = type { i32, i32 }
%struct.FrontendOutput = type { ptr, i64 }

@_ZN10micro_test12tests_passedE = external dso_local global i32, align 4
@_ZN10micro_test12tests_failedE = external dso_local global i32, align 4
@_ZN10micro_test16is_test_completeE = external dso_local global i8, align 1
@_ZN10micro_test13did_test_failE = external dso_local global i8, align 1
@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [121 x i8], align 1
@_ZN12_GLOBAL__N_114kFakeAudioDataE = external hidden constant [36 x i16], align 16
@__const.main.expected = external hidden unnamed_addr constant [2 x i16], align 2
@.str.3 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [44 x i8], align 1
@__const.main.expected.10 = external hidden unnamed_addr constant [2 x i16], align 2
@.str.11 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.17 = 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 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"class.(anonymous namespace)::FrontendTestConfig", align 8
  %7 = alloca %struct.FrontendState, align 8
  %8 = alloca i64, align 8
  %9 = alloca %struct.FrontendOutput, align 8
  %10 = alloca [2 x i16], align 2
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i16, align 2
  %18 = alloca i16, align 2
  %19 = alloca i8, align 1
  %20 = alloca i8, align 1
  %21 = alloca i32, align 4
  %22 = alloca %"class.(anonymous namespace)::FrontendTestConfig", align 8
  %23 = alloca %struct.FrontendState, align 8
  %24 = alloca i64, align 8
  %25 = alloca %struct.FrontendOutput, align 8
  %26 = alloca %struct.FrontendOutput, align 8
  %27 = alloca [2 x i16], align 2
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i8, align 1
  %31 = alloca i8, align 1
  %32 = alloca i64, align 8
  %33 = alloca i64, align 8
  %34 = alloca i16, align 2
  %35 = alloca i16, align 2
  %36 = alloca i8, align 1
  %37 = alloca i8, align 1
  %38 = alloca i32, align 4
  %39 = alloca %"class.(anonymous namespace)::FrontendTestConfig", align 8
  %40 = alloca %struct.FrontendState, align 8
  %41 = alloca i64, align 8
  %42 = alloca %struct.FrontendOutput, align 8
  %43 = alloca %struct.FrontendOutput, align 8
  %44 = alloca %struct.FrontendOutput, align 8
  %45 = alloca i64, align 8
  %46 = alloca i32, align 4
  %47 = alloca i8, align 1
  %48 = alloca i8, align 1
  %49 = alloca i64, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  store i32 0, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  store i32 0, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  call void @_ZN6tflite14InitializeTestEv()
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str)
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %50

50:                                               ; preds = %195, %2
  %51 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %52 = trunc i8 %51 to i1
  %53 = xor i1 %52, true
  br i1 %53, label %54, label %208

54:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 72, ptr %6) #6
  call void @_ZN12_GLOBAL__N_118FrontendTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(72) %6)
  call void @llvm.lifetime.start.p0(i64 240, ptr %7) #6
  br label %55

55:                                               ; preds = %54
  %56 = getelementptr inbounds %"class.(anonymous namespace)::FrontendTestConfig", ptr %6, i32 0, i32 0
  %57 = call i32 @FrontendPopulateState(ptr noundef %56, ptr noundef %7, i32 noundef 1000)
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %60, label %59

59:                                               ; preds = %55
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 63)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %60

60:                                               ; preds = %59, %55
  br label %61

61:                                               ; preds = %60
  br label %62

62:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #6
  %63 = call { ptr, i64 } @FrontendProcessSamples(ptr noundef %7, ptr noundef @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef %8)
  %64 = getelementptr inbounds { ptr, i64 }, ptr %9, i32 0, i32 0
  %65 = extractvalue { ptr, i64 } %63, 0
  store ptr %65, ptr %64, align 8
  %66 = getelementptr inbounds { ptr, i64 }, ptr %9, i32 0, i32 1
  %67 = extractvalue { ptr, i64 } %63, 1
  store i64 %67, ptr %66, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %10, ptr align 2 @__const.main.expected, i64 4, i1 false)
  br label %68

68:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %69 = getelementptr inbounds %struct.FrontendOutput, ptr %9, i32 0, i32 1
  %70 = load i64, ptr %69, align 8, !tbaa !15
  store i64 %70, ptr %11, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 2, ptr %12, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  store i8 0, ptr %13, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #6
  store i8 0, ptr %14, align 1, !tbaa !11
  %71 = load i8, ptr %13, align 1, !tbaa !11, !range !13, !noundef !14
  %72 = trunc i8 %71 to i1
  br i1 %72, label %73, label %99

73:                                               ; preds = %68
  %74 = load i8, ptr %14, align 1, !tbaa !11, !range !13, !noundef !14
  %75 = trunc i8 %74 to i1
  br i1 %75, label %76, label %99

76:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %77 = load i64, ptr %11, align 8, !tbaa !18
  %78 = load i64, ptr %12, align 8, !tbaa !18
  %79 = icmp ugt i64 %77, %78
  br i1 %79, label %80, label %84

80:                                               ; preds = %76
  %81 = load i64, ptr %11, align 8, !tbaa !18
  %82 = load i64, ptr %12, align 8, !tbaa !18
  %83 = sub i64 %81, %82
  br label %88

84:                                               ; preds = %76
  %85 = load i64, ptr %12, align 8, !tbaa !18
  %86 = load i64, ptr %11, align 8, !tbaa !18
  %87 = sub i64 %85, %86
  br label %88

88:                                               ; preds = %84, %80
  %89 = phi i64 [ %83, %80 ], [ %87, %84 ]
  store i64 %89, ptr %15, align 8, !tbaa !18
  %90 = load i64, ptr %15, align 8, !tbaa !18
  %91 = call noundef i64 @_ZNSt14numeric_limitsImE7epsilonEv() #6
  %92 = icmp ugt i64 %90, %91
  br i1 %92, label %93, label %98

93:                                               ; preds = %88
  %94 = load i64, ptr %11, align 8, !tbaa !18
  %95 = uitofp i64 %94 to double
  %96 = load i64, ptr %12, align 8, !tbaa !18
  %97 = uitofp i64 %96 to double
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef 71, double noundef %95, double noundef %97)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %98

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

99:                                               ; preds = %73, %68
  %100 = load i64, ptr %11, align 8, !tbaa !18
  %101 = load i64, ptr %12, align 8, !tbaa !18
  %102 = icmp ne i64 %100, %101
  br i1 %102, label %103, label %115

103:                                              ; preds = %99
  %104 = load i64, ptr %11, align 8, !tbaa !18
  %105 = trunc i64 %104 to i32
  %106 = load i64, ptr %12, align 8, !tbaa !18
  %107 = trunc i64 %106 to i32
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.4, ptr noundef @.str.2, i32 noundef 71, i32 noundef %105, i32 noundef %107)
  %108 = load i8, ptr %13, align 1, !tbaa !11, !range !13, !noundef !14
  %109 = trunc i8 %108 to i1
  br i1 %109, label %113, label %110

110:                                              ; preds = %103
  %111 = load i8, ptr %14, align 1, !tbaa !11, !range !13, !noundef !14
  %112 = trunc i8 %111 to i1
  br i1 %112, label %113, label %114

113:                                              ; preds = %110, %103
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.5)
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.6)
  br label %114

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

115:                                              ; preds = %114, %99
  br label %116

116:                                              ; preds = %115, %98
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %117

117:                                              ; preds = %116
  br label %118

118:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  store i64 0, ptr %16, align 8, !tbaa !18
  br label %119

119:                                              ; preds = %191, %118
  %120 = load i64, ptr %16, align 8, !tbaa !18
  %121 = getelementptr inbounds %struct.FrontendOutput, ptr %9, i32 0, i32 1
  %122 = load i64, ptr %121, align 8, !tbaa !15
  %123 = icmp ult i64 %120, %122
  br i1 %123, label %125, label %124

124:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %194

125:                                              ; preds = %119
  br label %126

126:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 2, ptr %17) #6
  %127 = getelementptr inbounds %struct.FrontendOutput, ptr %9, i32 0, i32 0
  %128 = load ptr, ptr %127, align 8, !tbaa !19
  %129 = load i64, ptr %16, align 8, !tbaa !18
  %130 = getelementptr inbounds i16, ptr %128, i64 %129
  %131 = load i16, ptr %130, align 2, !tbaa !20
  store i16 %131, ptr %17, align 2, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 2, ptr %18) #6
  %132 = load i64, ptr %16, align 8, !tbaa !18
  %133 = getelementptr inbounds [2 x i16], ptr %10, i64 0, i64 %132
  %134 = load i16, ptr %133, align 2, !tbaa !20
  store i16 %134, ptr %18, align 2, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #6
  store i8 0, ptr %19, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #6
  store i8 0, ptr %20, align 1, !tbaa !11
  %135 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %136 = trunc i8 %135 to i1
  br i1 %136, label %137, label %169

137:                                              ; preds = %126
  %138 = load i8, ptr %20, align 1, !tbaa !11, !range !13, !noundef !14
  %139 = trunc i8 %138 to i1
  br i1 %139, label %140, label %169

140:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %141 = load i16, ptr %17, align 2, !tbaa !20
  %142 = zext i16 %141 to i32
  %143 = load i16, ptr %18, align 2, !tbaa !20
  %144 = zext i16 %143 to i32
  %145 = icmp sgt i32 %142, %144
  br i1 %145, label %146, label %152

146:                                              ; preds = %140
  %147 = load i16, ptr %17, align 2, !tbaa !20
  %148 = zext i16 %147 to i32
  %149 = load i16, ptr %18, align 2, !tbaa !20
  %150 = zext i16 %149 to i32
  %151 = sub nsw i32 %148, %150
  br label %158

152:                                              ; preds = %140
  %153 = load i16, ptr %18, align 2, !tbaa !20
  %154 = zext i16 %153 to i32
  %155 = load i16, ptr %17, align 2, !tbaa !20
  %156 = zext i16 %155 to i32
  %157 = sub nsw i32 %154, %156
  br label %158

158:                                              ; preds = %152, %146
  %159 = phi i32 [ %151, %146 ], [ %157, %152 ]
  store i32 %159, ptr %21, align 4, !tbaa !5
  %160 = load i32, ptr %21, align 4, !tbaa !5
  %161 = call noundef i32 @_ZNSt14numeric_limitsIiE7epsilonEv() #6
  %162 = icmp sgt i32 %160, %161
  br i1 %162, label %163, label %168

163:                                              ; preds = %158
  %164 = load i16, ptr %17, align 2, !tbaa !20
  %165 = uitofp i16 %164 to double
  %166 = load i16, ptr %18, align 2, !tbaa !20
  %167 = uitofp i16 %166 to double
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.7, ptr noundef @.str.2, i32 noundef 73, double noundef %165, double noundef %167)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %168

168:                                              ; preds = %163, %158
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %188

169:                                              ; preds = %137, %126
  %170 = load i16, ptr %17, align 2, !tbaa !20
  %171 = zext i16 %170 to i32
  %172 = load i16, ptr %18, align 2, !tbaa !20
  %173 = zext i16 %172 to i32
  %174 = icmp ne i32 %171, %173
  br i1 %174, label %175, label %187

175:                                              ; preds = %169
  %176 = load i16, ptr %17, align 2, !tbaa !20
  %177 = zext i16 %176 to i32
  %178 = load i16, ptr %18, align 2, !tbaa !20
  %179 = zext i16 %178 to i32
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 73, i32 noundef %177, i32 noundef %179)
  %180 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %181 = trunc i8 %180 to i1
  br i1 %181, label %185, label %182

182:                                              ; preds = %175
  %183 = load i8, ptr %20, align 1, !tbaa !11, !range !13, !noundef !14
  %184 = trunc i8 %183 to i1
  br i1 %184, label %185, label %186

185:                                              ; preds = %182, %175
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.5)
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.6)
  br label %186

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

187:                                              ; preds = %186, %169
  br label %188

188:                                              ; preds = %187, %168
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %17) #6
  br label %189

189:                                              ; preds = %188
  br label %190

190:                                              ; preds = %189
  br label %191

191:                                              ; preds = %190
  %192 = load i64, ptr %16, align 8, !tbaa !18
  %193 = add i64 %192, 1
  store i64 %193, ptr %16, align 8, !tbaa !18
  br label %119, !llvm.loop !22

194:                                              ; preds = %124
  call void @FrontendFreeStateContents(ptr noundef %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 240, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %6) #6
  br label %195

195:                                              ; preds = %194
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %196 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %197 = trunc i8 %196 to i1
  %198 = zext i1 %197 to i64
  %199 = select i1 %197, i32 0, i32 1
  %200 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %201 = add nsw i32 %200, %199
  store i32 %201, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %202 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %203 = trunc i8 %202 to i1
  %204 = zext i1 %203 to i64
  %205 = select i1 %203, i32 1, i32 0
  %206 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %207 = add nsw i32 %206, %205
  store i32 %207, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %50, !llvm.loop !24

208:                                              ; preds = %50
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.9)
  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 %209

209:                                              ; preds = %359, %208
  %210 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %211 = trunc i8 %210 to i1
  %212 = xor i1 %211, true
  br i1 %212, label %213, label %372

213:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 72, ptr %22) #6
  call void @_ZN12_GLOBAL__N_118FrontendTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(72) %22)
  call void @llvm.lifetime.start.p0(i64 240, ptr %23) #6
  br label %214

214:                                              ; preds = %213
  %215 = getelementptr inbounds %"class.(anonymous namespace)::FrontendTestConfig", ptr %22, i32 0, i32 0
  %216 = call i32 @FrontendPopulateState(ptr noundef %215, ptr noundef %23, i32 noundef 1000)
  %217 = icmp ne i32 %216, 0
  br i1 %217, label %219, label %218

218:                                              ; preds = %214
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 83)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %219

219:                                              ; preds = %218, %214
  br label %220

220:                                              ; preds = %219
  br label %221

221:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %222 = call { ptr, i64 } @FrontendProcessSamples(ptr noundef %23, ptr noundef @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef %24)
  %223 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 0
  %224 = extractvalue { ptr, i64 } %222, 0
  store ptr %224, ptr %223, align 8
  %225 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 1
  %226 = extractvalue { ptr, i64 } %222, 1
  store i64 %226, ptr %225, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #6
  %227 = call { ptr, i64 } @FrontendProcessSamples(ptr noundef %23, ptr noundef getelementptr inbounds (i16, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 25), i64 noundef 11, ptr noundef %24)
  %228 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 0
  %229 = extractvalue { ptr, i64 } %227, 0
  store ptr %229, ptr %228, align 8
  %230 = getelementptr inbounds { ptr, i64 }, ptr %26, i32 0, i32 1
  %231 = extractvalue { ptr, i64 } %227, 1
  store i64 %231, ptr %230, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %27, ptr align 2 @__const.main.expected.10, i64 4, i1 false)
  br label %232

232:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %233 = getelementptr inbounds %struct.FrontendOutput, ptr %26, i32 0, i32 1
  %234 = load i64, ptr %233, align 8, !tbaa !15
  store i64 %234, ptr %28, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  store i64 2, ptr %29, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #6
  store i8 0, ptr %30, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #6
  store i8 0, ptr %31, align 1, !tbaa !11
  %235 = load i8, ptr %30, align 1, !tbaa !11, !range !13, !noundef !14
  %236 = trunc i8 %235 to i1
  br i1 %236, label %237, label %263

237:                                              ; preds = %232
  %238 = load i8, ptr %31, align 1, !tbaa !11, !range !13, !noundef !14
  %239 = trunc i8 %238 to i1
  br i1 %239, label %240, label %263

240:                                              ; preds = %237
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %241 = load i64, ptr %28, align 8, !tbaa !18
  %242 = load i64, ptr %29, align 8, !tbaa !18
  %243 = icmp ugt i64 %241, %242
  br i1 %243, label %244, label %248

244:                                              ; preds = %240
  %245 = load i64, ptr %28, align 8, !tbaa !18
  %246 = load i64, ptr %29, align 8, !tbaa !18
  %247 = sub i64 %245, %246
  br label %252

248:                                              ; preds = %240
  %249 = load i64, ptr %29, align 8, !tbaa !18
  %250 = load i64, ptr %28, align 8, !tbaa !18
  %251 = sub i64 %249, %250
  br label %252

252:                                              ; preds = %248, %244
  %253 = phi i64 [ %247, %244 ], [ %251, %248 ]
  store i64 %253, ptr %32, align 8, !tbaa !18
  %254 = load i64, ptr %32, align 8, !tbaa !18
  %255 = call noundef i64 @_ZNSt14numeric_limitsImE7epsilonEv() #6
  %256 = icmp ugt i64 %254, %255
  br i1 %256, label %257, label %262

257:                                              ; preds = %252
  %258 = load i64, ptr %28, align 8, !tbaa !18
  %259 = uitofp i64 %258 to double
  %260 = load i64, ptr %29, align 8, !tbaa !18
  %261 = uitofp i64 %260 to double
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef 95, double noundef %259, double noundef %261)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %262

262:                                              ; preds = %257, %252
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br label %280

263:                                              ; preds = %237, %232
  %264 = load i64, ptr %28, align 8, !tbaa !18
  %265 = load i64, ptr %29, align 8, !tbaa !18
  %266 = icmp ne i64 %264, %265
  br i1 %266, label %267, label %279

267:                                              ; preds = %263
  %268 = load i64, ptr %28, align 8, !tbaa !18
  %269 = trunc i64 %268 to i32
  %270 = load i64, ptr %29, align 8, !tbaa !18
  %271 = trunc i64 %270 to i32
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.4, ptr noundef @.str.2, i32 noundef 95, i32 noundef %269, i32 noundef %271)
  %272 = load i8, ptr %30, align 1, !tbaa !11, !range !13, !noundef !14
  %273 = trunc i8 %272 to i1
  br i1 %273, label %277, label %274

274:                                              ; preds = %267
  %275 = load i8, ptr %31, align 1, !tbaa !11, !range !13, !noundef !14
  %276 = trunc i8 %275 to i1
  br i1 %276, label %277, label %278

277:                                              ; preds = %274, %267
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.5)
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.6)
  br label %278

278:                                              ; preds = %277, %274
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %279

279:                                              ; preds = %278, %263
  br label %280

280:                                              ; preds = %279, %262
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  br label %281

281:                                              ; preds = %280
  br label %282

282:                                              ; preds = %281
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  store i64 0, ptr %33, align 8, !tbaa !18
  br label %283

283:                                              ; preds = %355, %282
  %284 = load i64, ptr %33, align 8, !tbaa !18
  %285 = getelementptr inbounds %struct.FrontendOutput, ptr %26, i32 0, i32 1
  %286 = load i64, ptr %285, align 8, !tbaa !15
  %287 = icmp ult i64 %284, %286
  br i1 %287, label %289, label %288

288:                                              ; preds = %283
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %358

289:                                              ; preds = %283
  br label %290

290:                                              ; preds = %289
  call void @llvm.lifetime.start.p0(i64 2, ptr %34) #6
  %291 = getelementptr inbounds %struct.FrontendOutput, ptr %26, i32 0, i32 0
  %292 = load ptr, ptr %291, align 8, !tbaa !19
  %293 = load i64, ptr %33, align 8, !tbaa !18
  %294 = getelementptr inbounds i16, ptr %292, i64 %293
  %295 = load i16, ptr %294, align 2, !tbaa !20
  store i16 %295, ptr %34, align 2, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 2, ptr %35) #6
  %296 = load i64, ptr %33, align 8, !tbaa !18
  %297 = getelementptr inbounds [2 x i16], ptr %27, i64 0, i64 %296
  %298 = load i16, ptr %297, align 2, !tbaa !20
  store i16 %298, ptr %35, align 2, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #6
  store i8 0, ptr %36, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #6
  store i8 0, ptr %37, align 1, !tbaa !11
  %299 = load i8, ptr %36, align 1, !tbaa !11, !range !13, !noundef !14
  %300 = trunc i8 %299 to i1
  br i1 %300, label %301, label %333

301:                                              ; preds = %290
  %302 = load i8, ptr %37, align 1, !tbaa !11, !range !13, !noundef !14
  %303 = trunc i8 %302 to i1
  br i1 %303, label %304, label %333

304:                                              ; preds = %301
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #6
  %305 = load i16, ptr %34, align 2, !tbaa !20
  %306 = zext i16 %305 to i32
  %307 = load i16, ptr %35, align 2, !tbaa !20
  %308 = sext i16 %307 to i32
  %309 = icmp sgt i32 %306, %308
  br i1 %309, label %310, label %316

310:                                              ; preds = %304
  %311 = load i16, ptr %34, align 2, !tbaa !20
  %312 = zext i16 %311 to i32
  %313 = load i16, ptr %35, align 2, !tbaa !20
  %314 = sext i16 %313 to i32
  %315 = sub nsw i32 %312, %314
  br label %322

316:                                              ; preds = %304
  %317 = load i16, ptr %35, align 2, !tbaa !20
  %318 = sext i16 %317 to i32
  %319 = load i16, ptr %34, align 2, !tbaa !20
  %320 = zext i16 %319 to i32
  %321 = sub nsw i32 %318, %320
  br label %322

322:                                              ; preds = %316, %310
  %323 = phi i32 [ %315, %310 ], [ %321, %316 ]
  store i32 %323, ptr %38, align 4, !tbaa !5
  %324 = load i32, ptr %38, align 4, !tbaa !5
  %325 = call noundef i32 @_ZNSt14numeric_limitsIiE7epsilonEv() #6
  %326 = icmp sgt i32 %324, %325
  br i1 %326, label %327, label %332

327:                                              ; preds = %322
  %328 = load i16, ptr %34, align 2, !tbaa !20
  %329 = uitofp i16 %328 to double
  %330 = load i16, ptr %35, align 2, !tbaa !20
  %331 = sitofp i16 %330 to double
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.7, ptr noundef @.str.2, i32 noundef 97, double noundef %329, double noundef %331)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %332

332:                                              ; preds = %327, %322
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  br label %352

333:                                              ; preds = %301, %290
  %334 = load i16, ptr %34, align 2, !tbaa !20
  %335 = zext i16 %334 to i32
  %336 = load i16, ptr %35, align 2, !tbaa !20
  %337 = sext i16 %336 to i32
  %338 = icmp ne i32 %335, %337
  br i1 %338, label %339, label %351

339:                                              ; preds = %333
  %340 = load i16, ptr %34, align 2, !tbaa !20
  %341 = zext i16 %340 to i32
  %342 = load i16, ptr %35, align 2, !tbaa !20
  %343 = sext i16 %342 to i32
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 97, i32 noundef %341, i32 noundef %343)
  %344 = load i8, ptr %36, align 1, !tbaa !11, !range !13, !noundef !14
  %345 = trunc i8 %344 to i1
  br i1 %345, label %349, label %346

346:                                              ; preds = %339
  %347 = load i8, ptr %37, align 1, !tbaa !11, !range !13, !noundef !14
  %348 = trunc i8 %347 to i1
  br i1 %348, label %349, label %350

349:                                              ; preds = %346, %339
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.5)
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.6)
  br label %350

350:                                              ; preds = %349, %346
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %351

351:                                              ; preds = %350, %333
  br label %352

352:                                              ; preds = %351, %332
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %34) #6
  br label %353

353:                                              ; preds = %352
  br label %354

354:                                              ; preds = %353
  br label %355

355:                                              ; preds = %354
  %356 = load i64, ptr %33, align 8, !tbaa !18
  %357 = add i64 %356, 1
  store i64 %357, ptr %33, align 8, !tbaa !18
  br label %283, !llvm.loop !25

358:                                              ; preds = %288
  call void @FrontendFreeStateContents(ptr noundef %23)
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 240, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %22) #6
  br label %359

359:                                              ; preds = %358
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %360 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %361 = trunc i8 %360 to i1
  %362 = zext i1 %361 to i64
  %363 = select i1 %361, i32 0, i32 1
  %364 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %365 = add nsw i32 %364, %363
  store i32 %365, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %366 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %367 = trunc i8 %366 to i1
  %368 = zext i1 %367 to i64
  %369 = select i1 %367, i32 1, i32 0
  %370 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %371 = add nsw i32 %370, %369
  store i32 %371, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %209, !llvm.loop !26

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

373:                                              ; preds = %463, %372
  %374 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %375 = trunc i8 %374 to i1
  %376 = xor i1 %375, true
  br i1 %376, label %377, label %476

377:                                              ; preds = %373
  call void @llvm.lifetime.start.p0(i64 72, ptr %39) #6
  call void @_ZN12_GLOBAL__N_118FrontendTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(72) %39)
  call void @llvm.lifetime.start.p0(i64 240, ptr %40) #6
  br label %378

378:                                              ; preds = %377
  %379 = getelementptr inbounds %"class.(anonymous namespace)::FrontendTestConfig", ptr %39, i32 0, i32 0
  %380 = call i32 @FrontendPopulateState(ptr noundef %379, ptr noundef %40, i32 noundef 1000)
  %381 = icmp ne i32 %380, 0
  br i1 %381, label %383, label %382

382:                                              ; preds = %378
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 107)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %383

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

384:                                              ; preds = %383
  br label %385

385:                                              ; preds = %384
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #6
  %386 = call { ptr, i64 } @FrontendProcessSamples(ptr noundef %40, ptr noundef @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef %41)
  %387 = getelementptr inbounds { ptr, i64 }, ptr %42, i32 0, i32 0
  %388 = extractvalue { ptr, i64 } %386, 0
  store ptr %388, ptr %387, align 8
  %389 = getelementptr inbounds { ptr, i64 }, ptr %42, i32 0, i32 1
  %390 = extractvalue { ptr, i64 } %386, 1
  store i64 %390, ptr %389, align 8
  %391 = call { ptr, i64 } @FrontendProcessSamples(ptr noundef %40, ptr noundef getelementptr inbounds (i16, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 25), i64 noundef 11, ptr noundef %41)
  %392 = getelementptr inbounds { ptr, i64 }, ptr %43, i32 0, i32 0
  %393 = extractvalue { ptr, i64 } %391, 0
  store ptr %393, ptr %392, align 8
  %394 = getelementptr inbounds { ptr, i64 }, ptr %43, i32 0, i32 1
  %395 = extractvalue { ptr, i64 } %391, 1
  store i64 %395, ptr %394, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #6
  %396 = call { ptr, i64 } @FrontendProcessSamples(ptr noundef %40, ptr noundef getelementptr inbounds (i16, ptr getelementptr inbounds (i16, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 25), i64 10), i64 noundef 1, ptr noundef %41)
  %397 = getelementptr inbounds { ptr, i64 }, ptr %44, i32 0, i32 0
  %398 = extractvalue { ptr, i64 } %396, 0
  store ptr %398, ptr %397, align 8
  %399 = getelementptr inbounds { ptr, i64 }, ptr %44, i32 0, i32 1
  %400 = extractvalue { ptr, i64 } %396, 1
  store i64 %400, ptr %399, align 8
  br label %401

401:                                              ; preds = %385
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #6
  %402 = getelementptr inbounds %struct.FrontendOutput, ptr %44, i32 0, i32 1
  %403 = load i64, ptr %402, align 8, !tbaa !15
  store i64 %403, ptr %45, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #6
  store i32 0, ptr %46, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %47) #6
  store i8 0, ptr %47, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %48) #6
  store i8 0, ptr %48, align 1, !tbaa !11
  %404 = load i8, ptr %47, align 1, !tbaa !11, !range !13, !noundef !14
  %405 = trunc i8 %404 to i1
  br i1 %405, label %406, label %435

406:                                              ; preds = %401
  %407 = load i8, ptr %48, align 1, !tbaa !11, !range !13, !noundef !14
  %408 = trunc i8 %407 to i1
  br i1 %408, label %409, label %435

409:                                              ; preds = %406
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #6
  %410 = load i64, ptr %45, align 8, !tbaa !18
  %411 = load i32, ptr %46, align 4, !tbaa !5
  %412 = zext i32 %411 to i64
  %413 = icmp ugt i64 %410, %412
  br i1 %413, label %414, label %419

414:                                              ; preds = %409
  %415 = load i64, ptr %45, align 8, !tbaa !18
  %416 = load i32, ptr %46, align 4, !tbaa !5
  %417 = zext i32 %416 to i64
  %418 = sub i64 %415, %417
  br label %424

419:                                              ; preds = %409
  %420 = load i32, ptr %46, align 4, !tbaa !5
  %421 = zext i32 %420 to i64
  %422 = load i64, ptr %45, align 8, !tbaa !18
  %423 = sub i64 %421, %422
  br label %424

424:                                              ; preds = %419, %414
  %425 = phi i64 [ %418, %414 ], [ %423, %419 ]
  store i64 %425, ptr %49, align 8, !tbaa !18
  %426 = load i64, ptr %49, align 8, !tbaa !18
  %427 = call noundef i64 @_ZNSt14numeric_limitsImE7epsilonEv() #6
  %428 = icmp ugt i64 %426, %427
  br i1 %428, label %429, label %434

429:                                              ; preds = %424
  %430 = load i64, ptr %45, align 8, !tbaa !18
  %431 = uitofp i64 %430 to double
  %432 = load i32, ptr %46, align 4, !tbaa !5
  %433 = uitofp i32 %432 to double
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.12, ptr noundef @.str.2, i32 noundef 123, double noundef %431, double noundef %433)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %434

434:                                              ; preds = %429, %424
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #6
  br label %452

435:                                              ; preds = %406, %401
  %436 = load i64, ptr %45, align 8, !tbaa !18
  %437 = load i32, ptr %46, align 4, !tbaa !5
  %438 = zext i32 %437 to i64
  %439 = icmp ne i64 %436, %438
  br i1 %439, label %440, label %451

440:                                              ; preds = %435
  %441 = load i64, ptr %45, align 8, !tbaa !18
  %442 = trunc i64 %441 to i32
  %443 = load i32, ptr %46, align 4, !tbaa !5
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.13, ptr noundef @.str.2, i32 noundef 123, i32 noundef %442, i32 noundef %443)
  %444 = load i8, ptr %47, align 1, !tbaa !11, !range !13, !noundef !14
  %445 = trunc i8 %444 to i1
  br i1 %445, label %449, label %446

446:                                              ; preds = %440
  %447 = load i8, ptr %48, align 1, !tbaa !11, !range !13, !noundef !14
  %448 = trunc i8 %447 to i1
  br i1 %448, label %449, label %450

449:                                              ; preds = %446, %440
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.5)
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.6)
  br label %450

450:                                              ; preds = %449, %446
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %451

451:                                              ; preds = %450, %435
  br label %452

452:                                              ; preds = %451, %434
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #6
  br label %453

453:                                              ; preds = %452
  br label %454

454:                                              ; preds = %453
  br label %455

455:                                              ; preds = %454
  %456 = getelementptr inbounds %struct.FrontendOutput, ptr %44, i32 0, i32 0
  %457 = load ptr, ptr %456, align 8, !tbaa !19
  %458 = icmp eq ptr %457, null
  br i1 %458, label %460, label %459

459:                                              ; preds = %455
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.14, ptr noundef @.str.2, i32 noundef 124)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %460

460:                                              ; preds = %459, %455
  br label %461

461:                                              ; preds = %460
  br label %462

462:                                              ; preds = %461
  call void @FrontendFreeStateContents(ptr noundef %40)
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 240, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %39) #6
  br label %463

463:                                              ; preds = %462
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %464 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %465 = trunc i8 %464 to i1
  %466 = zext i1 %465 to i64
  %467 = select i1 %465, i32 0, i32 1
  %468 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %469 = add nsw i32 %468, %467
  store i32 %469, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %470 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %471 = trunc i8 %470 to i1
  %472 = zext i1 %471 to i64
  %473 = select i1 %471, i32 1, i32 0
  %474 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %475 = add nsw i32 %474, %473
  store i32 %475, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %373, !llvm.loop !27

476:                                              ; preds = %373
  %477 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %478 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %479 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %480 = add nsw i32 %478, %479
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.15, i32 noundef %477, i32 noundef %480)
  %481 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %482 = icmp eq i32 %481, 0
  br i1 %482, label %483, label %484

483:                                              ; preds = %476
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.16)
  store i32 0, ptr %3, align 4
  br label %485

484:                                              ; preds = %476
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.17)
  store i32 1, ptr %3, align 4
  br label %485

485:                                              ; preds = %484, %483
  %486 = load i32, ptr %3, align 4
  ret i32 %486
}

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

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

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

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

declare i32 @FrontendPopulateState(ptr noundef, ptr noundef, i32 noundef) #2

declare { ptr, i64 } @FrontendProcessSamples(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #2

; 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: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt14numeric_limitsImE7epsilonEv() #4 align 2

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

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

declare void @FrontendFreeStateContents(ptr noundef) #2

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


; 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.(anonymous namespace)::FrontendTestConfig" = type { %struct.FrontendConfig }
%struct.FrontendConfig = type { %struct.WindowConfig, %struct.FilterbankConfig, %struct.NoiseReductionConfig, %struct.PcanGainControlConfig, %struct.LogScaleConfig }
%struct.WindowConfig = type { i64, i64 }
%struct.FilterbankConfig = type { i32, float, float, i32 }
%struct.NoiseReductionConfig = type { i32, float, float, float }
%struct.PcanGainControlConfig = type { i32, float, float, i32 }
%struct.LogScaleConfig = type { i32, i32 }
%struct.FrontendState = type { %struct.WindowState, %struct.FftState, %struct.FilterbankState, %struct.NoiseReductionState, %struct.PcanGainControlState, %struct.LogScaleState }
%struct.WindowState = type { i64, ptr, i64, ptr, i64, ptr, i16 }
%struct.FftState = type { ptr, ptr, i64, i64, ptr, i64 }
%struct.FilterbankState = type { i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.NoiseReductionState = type { i32, i16, i16, i16, i32, ptr }
%struct.PcanGainControlState = type { i32, ptr, i32, ptr, i32 }
%struct.LogScaleState = type { i32, i32 }

@_ZN10micro_test12tests_passedE = external dso_local local_unnamed_addr global i32, align 4
@_ZN10micro_test12tests_failedE = external dso_local local_unnamed_addr global i32, align 4
@_ZN10micro_test16is_test_completeE = external dso_local local_unnamed_addr global i8, align 1
@_ZN10micro_test13did_test_failE = external dso_local local_unnamed_addr global i8, align 1
@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [121 x i8], align 1
@_ZN12_GLOBAL__N_114kFakeAudioDataE = external hidden constant [36 x i16], align 16
@__const.main.expected = external hidden unnamed_addr constant [2 x i16], align 2
@.str.4 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [44 x i8], align 1
@__const.main.expected.10 = external hidden unnamed_addr constant [2 x i16], align 2
@.str.11 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef range(i32 0, 2) i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
.lr.ph136:
  %2 = alloca %"class.(anonymous namespace)::FrontendTestConfig", align 8
  %3 = alloca %struct.FrontendState, align 8
  %4 = alloca i64, align 8
  %5 = alloca %"class.(anonymous namespace)::FrontendTestConfig", align 8
  %6 = alloca %struct.FrontendState, align 8
  %7 = alloca i64, align 8
  %8 = alloca %"class.(anonymous namespace)::FrontendTestConfig", align 8
  %9 = alloca %struct.FrontendState, align 8
  %10 = 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
  tail call void @_ZN6tflite14InitializeTestEv()
  tail call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str)
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %2) #5
  call void @_ZN12_GLOBAL__N_118FrontendTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(72) %2)
  call void @llvm.lifetime.start.p0(i64 240, ptr nonnull %3) #5
  %11 = call i32 @FrontendPopulateState(ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef 1000)
  %.not130 = icmp eq i32 %11, 0
  br i1 %.not130, label %12, label %13

12:                                               ; preds = %.lr.ph136
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 63)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %13

13:                                               ; preds = %12, %.lr.ph136
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %14 = call { ptr, i64 } @FrontendProcessSamples(ptr noundef nonnull %3, ptr noundef nonnull @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef nonnull %4)
  %15 = extractvalue { ptr, i64 } %14, 0
  %16 = extractvalue { ptr, i64 } %14, 1
  %.not131 = icmp eq i64 %16, 2
  br i1 %.not131, label %.lr.ph.preheader, label %17

17:                                               ; preds = %13
  %18 = trunc i64 %16 to i32
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.2, i32 noundef 71, i32 noundef %18, i32 noundef 2)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  %.not148 = icmp eq i64 %16, 0
  br i1 %.not148, label %.lr.ph143, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %13, %17
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %26
  %.0105134 = phi i64 [ %27, %26 ], [ 0, %.lr.ph.preheader ]
  %19 = getelementptr inbounds [2 x i16], ptr @__const.main.expected, i64 0, i64 %.0105134
  %20 = load i16, ptr %19, align 2, !tbaa !11
  %21 = getelementptr inbounds i16, ptr %15, i64 %.0105134
  %22 = load i16, ptr %21, align 2, !tbaa !11
  %.not133 = icmp eq i16 %22, %20
  br i1 %.not133, label %26, label %23

23:                                               ; preds = %.lr.ph
  %24 = zext i16 %20 to i32
  %25 = zext i16 %22 to i32
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 73, i32 noundef %25, i32 noundef %24)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %26

26:                                               ; preds = %.lr.ph, %23
  %27 = add nuw i64 %.0105134, 1
  %exitcond.not = icmp eq i64 %27, %16
  br i1 %exitcond.not, label %.lr.ph143, label %.lr.ph, !llvm.loop !13

.lr.ph143:                                        ; preds = %26, %17
  call void @FrontendFreeStateContents(ptr noundef nonnull %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %2) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  %28 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9, !range !15, !noundef !16
  %29 = xor i8 %28, 1
  %not.132 = zext nneg i8 %29 to i32
  %30 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %31 = add nsw i32 %30, %not.132
  store i32 %31, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %32 = zext nneg i8 %28 to i32
  %33 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %34 = add nsw i32 %33, %32
  store i32 %34, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.9)
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #5
  call void @_ZN12_GLOBAL__N_118FrontendTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(72) %5)
  call void @llvm.lifetime.start.p0(i64 240, ptr nonnull %6) #5
  %35 = call i32 @FrontendPopulateState(ptr noundef nonnull %5, ptr noundef nonnull %6, i32 noundef 1000)
  %.not126 = icmp eq i32 %35, 0
  br i1 %.not126, label %36, label %37

36:                                               ; preds = %.lr.ph143
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 83)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %37

37:                                               ; preds = %36, %.lr.ph143
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %38 = call { ptr, i64 } @FrontendProcessSamples(ptr noundef nonnull %6, ptr noundef nonnull @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef nonnull %7)
  %39 = call { ptr, i64 } @FrontendProcessSamples(ptr noundef nonnull %6, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 50), i64 noundef 11, ptr noundef nonnull %7)
  %40 = extractvalue { ptr, i64 } %39, 0
  %41 = extractvalue { ptr, i64 } %39, 1
  %.not127 = icmp eq i64 %41, 2
  br i1 %.not127, label %.lr.ph140.preheader, label %42

42:                                               ; preds = %37
  %43 = trunc i64 %41 to i32
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.2, i32 noundef 95, i32 noundef %43, i32 noundef 2)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  %.not149 = icmp eq i64 %41, 0
  br i1 %.not149, label %.lr.ph146, label %.lr.ph140.preheader

.lr.ph140.preheader:                              ; preds = %37, %42
  br label %.lr.ph140

.lr.ph140:                                        ; preds = %.lr.ph140.preheader, %51
  %.0106138 = phi i64 [ %52, %51 ], [ 0, %.lr.ph140.preheader ]
  %44 = getelementptr inbounds [2 x i16], ptr @__const.main.expected.10, i64 0, i64 %.0106138
  %45 = load i16, ptr %44, align 2, !tbaa !11
  %46 = getelementptr inbounds i16, ptr %40, i64 %.0106138
  %47 = load i16, ptr %46, align 2, !tbaa !11
  %48 = zext i16 %47 to i32
  %49 = sext i16 %45 to i32
  %.not129 = icmp eq i32 %48, %49
  br i1 %.not129, label %51, label %50

50:                                               ; preds = %.lr.ph140
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 97, i32 noundef %48, i32 noundef %49)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %51

51:                                               ; preds = %.lr.ph140, %50
  %52 = add nuw i64 %.0106138, 1
  %exitcond150.not = icmp eq i64 %52, %41
  br i1 %exitcond150.not, label %.lr.ph146, label %.lr.ph140, !llvm.loop !17

.lr.ph146:                                        ; preds = %51, %42
  call void @FrontendFreeStateContents(ptr noundef nonnull %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  %53 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9, !range !15, !noundef !16
  %54 = xor i8 %53, 1
  %not.128 = zext nneg i8 %54 to i32
  %55 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %56 = add nsw i32 %55, %not.128
  store i32 %56, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %57 = zext nneg i8 %53 to i32
  %58 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %59 = add nsw i32 %58, %57
  store i32 %59, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.11)
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %8) #5
  call void @_ZN12_GLOBAL__N_118FrontendTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(72) %8)
  call void @llvm.lifetime.start.p0(i64 240, ptr nonnull %9) #5
  %60 = call i32 @FrontendPopulateState(ptr noundef nonnull %8, ptr noundef nonnull %9, i32 noundef 1000)
  %.not = icmp eq i32 %60, 0
  br i1 %.not, label %61, label %62

61:                                               ; preds = %.lr.ph146
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 107)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %62

62:                                               ; preds = %61, %.lr.ph146
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %63 = call { ptr, i64 } @FrontendProcessSamples(ptr noundef nonnull %9, ptr noundef nonnull @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef nonnull %10)
  %64 = call { ptr, i64 } @FrontendProcessSamples(ptr noundef nonnull %9, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 50), i64 noundef 11, ptr noundef nonnull %10)
  %65 = call { ptr, i64 } @FrontendProcessSamples(ptr noundef nonnull %9, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 70), i64 noundef 1, ptr noundef nonnull %10)
  %66 = extractvalue { ptr, i64 } %65, 0
  %67 = extractvalue { ptr, i64 } %65, 1
  %.not125 = icmp eq i64 %67, 0
  br i1 %.not125, label %70, label %68

68:                                               ; preds = %62
  %69 = trunc i64 %67 to i32
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.2, i32 noundef 123, i32 noundef %69, i32 noundef 0)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %70

70:                                               ; preds = %62, %68
  %71 = icmp eq ptr %66, null
  br i1 %71, label %._crit_edge147, label %72

72:                                               ; preds = %70
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.2, i32 noundef 124)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %._crit_edge147

._crit_edge147:                                   ; preds = %72, %70
  call void @FrontendFreeStateContents(ptr noundef nonnull %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %8) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  %73 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9, !range !15, !noundef !16
  %74 = xor i8 %73, 1
  %not. = zext nneg i8 %74 to i32
  %75 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %76 = add nsw i32 %75, %not.
  store i32 %76, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %77 = zext nneg i8 %73 to i32
  %78 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %79 = add nsw i32 %78, %77
  store i32 %79, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %80 = add nsw i32 %79, %76
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.15, i32 noundef %76, i32 noundef %80)
  %81 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %82 = icmp ne i32 %81, 0
  %.str.16..str.17 = select i1 %82, ptr @.str.17, ptr @.str.16
  %. = zext i1 %82 to i32
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull %.str.16..str.17)
  ret i32 %.
}

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

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

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

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

declare i32 @FrontendPopulateState(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare { ptr, i64 } @FrontendProcessSamples(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

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

declare void @FrontendFreeStateContents(ptr noundef) local_unnamed_addr #2

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


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