; LLVM IR from tensorflow/tflite-micro :: tensorflow/lite/kernels (kernel_util)

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

%struct.TfLiteTensor = type { i32, %union.TfLitePtrUnion, ptr, %struct.TfLiteQuantizationParams, i32, i64, ptr, ptr, ptr, i32, i8, i8, %struct.TfLiteQuantization, ptr, ptr }
%union.TfLitePtrUnion = type { ptr }
%struct.TfLiteQuantizationParams = type { float, i32 }
%struct.TfLiteQuantization = type { i32, ptr }
%struct.TfLiteContext = type { i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.TfLiteAffineQuantization = type { ptr, ptr, i32 }
%struct.TfLiteFloatArray = type { i32, [0 x float] }
%struct.TfLiteIntArray = type { i32, [0 x i32] }

@.str = external hidden unnamed_addr constant [26 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [61 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN6tflite37PopulateConvolutionQuantizationParamsEP13TfLiteContextPK12TfLiteTensorS4_S4_PS2_RK21TfLiteFusedActivationPiS9_S9_S9_S9_S9_i(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, i32 noundef %12) #1 {
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  %30 = alloca i8, align 1
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca ptr, align 8
  %34 = alloca i32, align 4
  %35 = alloca float, align 4
  %36 = alloca double, align 8
  %37 = alloca double, align 8
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca double, align 8
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  store ptr %0, ptr %15, align 8, !tbaa !5
  store ptr %1, ptr %16, align 8, !tbaa !5
  store ptr %2, ptr %17, align 8, !tbaa !5
  store ptr %3, ptr %18, align 8, !tbaa !5
  store ptr %4, ptr %19, align 8, !tbaa !5
  store ptr %5, ptr %20, align 8, !tbaa !5
  store ptr %6, ptr %21, align 8, !tbaa !5
  store ptr %7, ptr %22, align 8, !tbaa !5
  store ptr %8, ptr %23, align 8, !tbaa !5
  store ptr %9, ptr %24, align 8, !tbaa !5
  store ptr %10, ptr %25, align 8, !tbaa !5
  store ptr %11, ptr %26, align 8, !tbaa !5
  store i32 %12, ptr %27, align 4, !tbaa !9
  br label %44

44:                                               ; preds = %13
  %45 = load ptr, ptr %16, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.TfLiteTensor, ptr %45, i32 0, i32 12
  %47 = getelementptr inbounds %struct.TfLiteQuantization, ptr %46, i32 0, i32 0
  %48 = load i32, ptr %47, align 8, !tbaa !11
  %49 = icmp ne i32 %48, 1
  br i1 %49, label %50, label %61

50:                                               ; preds = %44
  br label %51

51:                                               ; preds = %50
  %52 = load ptr, ptr %15, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.TfLiteContext, ptr %52, i32 0, i32 5
  %54 = load ptr, ptr %53, align 8, !tbaa !21
  %55 = load ptr, ptr %15, align 8, !tbaa !5
  %56 = load ptr, ptr %16, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.TfLiteTensor, ptr %56, i32 0, i32 12
  %58 = getelementptr inbounds %struct.TfLiteQuantization, ptr %57, i32 0, i32 0
  %59 = load i32, ptr %58, align 8, !tbaa !11
  call void (ptr, ptr, ...) %54(ptr noundef %55, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 223, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef %59, i32 noundef 1)
  br label %60

60:                                               ; preds = %51
  store i32 1, ptr %14, align 4
  br label %354

61:                                               ; preds = %44
  br label %62

62:                                               ; preds = %61
  br label %63

63:                                               ; preds = %62
  %64 = load ptr, ptr %17, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.TfLiteTensor, ptr %64, i32 0, i32 12
  %66 = getelementptr inbounds %struct.TfLiteQuantization, ptr %65, i32 0, i32 0
  %67 = load i32, ptr %66, align 8, !tbaa !11
  %68 = icmp ne i32 %67, 1
  br i1 %68, label %69, label %80

69:                                               ; preds = %63
  br label %70

70:                                               ; preds = %69
  %71 = load ptr, ptr %15, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.TfLiteContext, ptr %71, i32 0, i32 5
  %73 = load ptr, ptr %72, align 8, !tbaa !21
  %74 = load ptr, ptr %15, align 8, !tbaa !5
  %75 = load ptr, ptr %17, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.TfLiteTensor, ptr %75, i32 0, i32 12
  %77 = getelementptr inbounds %struct.TfLiteQuantization, ptr %76, i32 0, i32 0
  %78 = load i32, ptr %77, align 8, !tbaa !11
  call void (ptr, ptr, ...) %73(ptr noundef %74, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 225, ptr noundef @.str.4, ptr noundef @.str.3, i32 noundef %78, i32 noundef 1)
  br label %79

79:                                               ; preds = %70
  store i32 1, ptr %14, align 4
  br label %354

80:                                               ; preds = %63
  br label %81

81:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #3
  %82 = load ptr, ptr %17, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.TfLiteTensor, ptr %82, i32 0, i32 12
  %84 = getelementptr inbounds %struct.TfLiteQuantization, ptr %83, i32 0, i32 1
  %85 = load ptr, ptr %84, align 8, !tbaa !23
  store ptr %85, ptr %28, align 8, !tbaa !5
  br label %86

86:                                               ; preds = %81
  %87 = load ptr, ptr %28, align 8, !tbaa !5
  %88 = icmp ne ptr %87, null
  br i1 %88, label %97, label %89

89:                                               ; preds = %86
  br label %90

90:                                               ; preds = %89
  %91 = load ptr, ptr %15, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.TfLiteContext, ptr %91, i32 0, i32 5
  %93 = load ptr, ptr %92, align 8, !tbaa !21
  %94 = load ptr, ptr %15, align 8, !tbaa !5
  call void (ptr, ptr, ...) %93(ptr noundef %94, ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 235, ptr noundef @.str.6)
  br label %95

95:                                               ; preds = %90
  br label %96

96:                                               ; preds = %95
  store i32 1, ptr %14, align 4
  store i32 1, ptr %29, align 4
  br label %353

97:                                               ; preds = %86
  br label %98

98:                                               ; preds = %97
  br label %99

99:                                               ; preds = %98
  br label %100

100:                                              ; preds = %99
  %101 = load ptr, ptr %28, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.TfLiteAffineQuantization, ptr %101, i32 0, i32 0
  %103 = load ptr, ptr %102, align 8, !tbaa !24
  %104 = icmp ne ptr %103, null
  br i1 %104, label %113, label %105

105:                                              ; preds = %100
  br label %106

106:                                              ; preds = %105
  %107 = load ptr, ptr %15, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.TfLiteContext, ptr %107, i32 0, i32 5
  %109 = load ptr, ptr %108, align 8, !tbaa !21
  %110 = load ptr, ptr %15, align 8, !tbaa !5
  call void (ptr, ptr, ...) %109(ptr noundef %110, ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 236, ptr noundef @.str.7)
  br label %111

111:                                              ; preds = %106
  br label %112

112:                                              ; preds = %111
  store i32 1, ptr %14, align 4
  store i32 1, ptr %29, align 4
  br label %353

113:                                              ; preds = %100
  br label %114

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #3
  %116 = load ptr, ptr %28, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.TfLiteAffineQuantization, ptr %116, i32 0, i32 0
  %118 = load ptr, ptr %117, align 8, !tbaa !24
  %119 = getelementptr inbounds %struct.TfLiteFloatArray, ptr %118, i32 0, i32 0
  %120 = load i32, ptr %119, align 4, !tbaa !9
  %121 = icmp sgt i32 %120, 1
  %122 = zext i1 %121 to i8
  store i8 %122, ptr %30, align 1, !tbaa !26
  %123 = load i8, ptr %30, align 1, !tbaa !26, !range !27, !noundef !28
  %124 = trunc i8 %123 to i1
  br i1 %124, label %125, label %228

125:                                              ; preds = %115
  br label %126

126:                                              ; preds = %125
  %127 = load ptr, ptr %16, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.TfLiteTensor, ptr %127, i32 0, i32 0
  %129 = load i32, ptr %128, align 8, !tbaa !29
  %130 = icmp eq i32 %129, 9
  br i1 %130, label %144, label %131

131:                                              ; preds = %126
  %132 = load ptr, ptr %16, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.TfLiteTensor, ptr %132, i32 0, i32 0
  %134 = load i32, ptr %133, align 8, !tbaa !29
  %135 = icmp eq i32 %134, 7
  br i1 %135, label %144, label %136

136:                                              ; preds = %131
  br label %137

137:                                              ; preds = %136
  %138 = load ptr, ptr %15, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.TfLiteContext, ptr %138, i32 0, i32 5
  %140 = load ptr, ptr %139, align 8, !tbaa !21
  %141 = load ptr, ptr %15, align 8, !tbaa !5
  call void (ptr, ptr, ...) %140(ptr noundef %141, ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 241, ptr noundef @.str.8)
  br label %142

142:                                              ; preds = %137
  br label %143

143:                                              ; preds = %142
  store i32 1, ptr %14, align 4
  store i32 1, ptr %29, align 4
  br label %352

144:                                              ; preds = %131, %126
  br label %145

145:                                              ; preds = %144
  br label %146

146:                                              ; preds = %145
  br label %147

147:                                              ; preds = %146
  %148 = load ptr, ptr %17, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.TfLiteTensor, ptr %148, i32 0, i32 0
  %150 = load i32, ptr %149, align 8, !tbaa !29
  %151 = icmp eq i32 %150, 9
  br i1 %151, label %165, label %152

152:                                              ; preds = %147
  %153 = load ptr, ptr %17, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.TfLiteTensor, ptr %153, i32 0, i32 0
  %155 = load i32, ptr %154, align 8, !tbaa !29
  %156 = icmp eq i32 %155, 18
  br i1 %156, label %165, label %157

157:                                              ; preds = %152
  br label %158

158:                                              ; preds = %157
  %159 = load ptr, ptr %15, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.TfLiteContext, ptr %159, i32 0, i32 5
  %161 = load ptr, ptr %160, align 8, !tbaa !21
  %162 = load ptr, ptr %15, align 8, !tbaa !5
  call void (ptr, ptr, ...) %161(ptr noundef %162, ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 243, ptr noundef @.str.9)
  br label %163

163:                                              ; preds = %158
  br label %164

164:                                              ; preds = %163
  store i32 1, ptr %14, align 4
  store i32 1, ptr %29, align 4
  br label %352

165:                                              ; preds = %152, %147
  br label %166

166:                                              ; preds = %165
  br label %167

167:                                              ; preds = %166
  br label %168

168:                                              ; preds = %167
  %169 = load ptr, ptr %28, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.TfLiteAffineQuantization, ptr %169, i32 0, i32 0
  %171 = load ptr, ptr %170, align 8, !tbaa !24
  %172 = getelementptr inbounds %struct.TfLiteFloatArray, ptr %171, i32 0, i32 0
  %173 = load i32, ptr %172, align 4, !tbaa !9
  %174 = load i32, ptr %27, align 4, !tbaa !9
  %175 = icmp ne i32 %173, %174
  br i1 %175, label %176, label %190

176:                                              ; preds = %168
  br label %177

177:                                              ; preds = %176
  %178 = load ptr, ptr %15, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.TfLiteContext, ptr %178, i32 0, i32 5
  %180 = load ptr, ptr %179, align 8, !tbaa !21
  %181 = load ptr, ptr %15, align 8, !tbaa !5
  %182 = load ptr, ptr %28, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.TfLiteAffineQuantization, ptr %182, i32 0, i32 0
  %184 = load ptr, ptr %183, align 8, !tbaa !24
  %185 = getelementptr inbounds %struct.TfLiteFloatArray, ptr %184, i32 0, i32 0
  %186 = load i32, ptr %185, align 4, !tbaa !9
  %187 = load i32, ptr %27, align 4, !tbaa !9
  call void (ptr, ptr, ...) %180(ptr noundef %181, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 244, ptr noundef @.str.10, ptr noundef @.str.11, i32 noundef %186, i32 noundef %187)
  br label %188

188:                                              ; preds = %177
  br label %189

189:                                              ; preds = %188
  store i32 1, ptr %14, align 4
  store i32 1, ptr %29, align 4
  br label %352

190:                                              ; preds = %168
  br label %191

191:                                              ; preds = %190
  br label %192

192:                                              ; preds = %191
  br label %193

193:                                              ; preds = %192
  %194 = load i32, ptr %27, align 4, !tbaa !9
  %195 = load ptr, ptr %17, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.TfLiteTensor, ptr %195, i32 0, i32 2
  %197 = load ptr, ptr %196, align 8, !tbaa !30
  %198 = getelementptr inbounds %struct.TfLiteIntArray, ptr %197, i32 0, i32 1
  %199 = load ptr, ptr %28, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.TfLiteAffineQuantization, ptr %199, i32 0, i32 2
  %201 = load i32, ptr %200, align 8, !tbaa !31
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds [0 x i32], ptr %198, i64 0, i64 %202
  %204 = load i32, ptr %203, align 4, !tbaa !9
  %205 = icmp ne i32 %194, %204
  br i1 %205, label %206, label %225

206:                                              ; preds = %193
  br label %207

207:                                              ; preds = %206
  %208 = load ptr, ptr %15, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.TfLiteContext, ptr %208, i32 0, i32 5
  %210 = load ptr, ptr %209, align 8, !tbaa !21
  %211 = load ptr, ptr %15, align 8, !tbaa !5
  %212 = load i32, ptr %27, align 4, !tbaa !9
  %213 = load ptr, ptr %17, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.TfLiteTensor, ptr %213, i32 0, i32 2
  %215 = load ptr, ptr %214, align 8, !tbaa !30
  %216 = getelementptr inbounds %struct.TfLiteIntArray, ptr %215, i32 0, i32 1
  %217 = load ptr, ptr %28, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.TfLiteAffineQuantization, ptr %217, i32 0, i32 2
  %219 = load i32, ptr %218, align 8, !tbaa !31
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds [0 x i32], ptr %216, i64 0, i64 %220
  %222 = load i32, ptr %221, align 4, !tbaa !9
  call void (ptr, ptr, ...) %210(ptr noundef %211, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 247, ptr noundef @.str.11, ptr noundef @.str.12, i32 noundef %212, i32 noundef %222)
  br label %223

223:                                              ; preds = %207
  br label %224

224:                                              ; preds = %223
  store i32 1, ptr %14, align 4
  store i32 1, ptr %29, align 4
  br label %352

225:                                              ; preds = %193
  br label %226

226:                                              ; preds = %225
  br label %227

227:                                              ; preds = %226
  br label %228

228:                                              ; preds = %227, %115
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #3
  %229 = load ptr, ptr %16, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.TfLiteTensor, ptr %229, i32 0, i32 3
  %231 = getelementptr inbounds %struct.TfLiteQuantizationParams, ptr %230, i32 0, i32 0
  %232 = load float, ptr %231, align 8, !tbaa !32
  store float %232, ptr %31, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #3
  %233 = load ptr, ptr %19, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.TfLiteTensor, ptr %233, i32 0, i32 3
  %235 = getelementptr inbounds %struct.TfLiteQuantizationParams, ptr %234, i32 0, i32 0
  %236 = load float, ptr %235, align 8, !tbaa !32
  store float %236, ptr %32, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #3
  %237 = load ptr, ptr %28, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.TfLiteAffineQuantization, ptr %237, i32 0, i32 0
  %239 = load ptr, ptr %238, align 8, !tbaa !24
  %240 = getelementptr inbounds %struct.TfLiteFloatArray, ptr %239, i32 0, i32 1
  %241 = getelementptr inbounds [0 x float], ptr %240, i64 0, i64 0
  store ptr %241, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #3
  store i32 0, ptr %34, align 4, !tbaa !9
  br label %242

242:                                              ; preds = %282, %228
  %243 = load i32, ptr %34, align 4, !tbaa !9
  %244 = load i32, ptr %27, align 4, !tbaa !9
  %245 = icmp slt i32 %243, %244
  br i1 %245, label %247, label %246

246:                                              ; preds = %242
  store i32 34, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #3
  br label %285

247:                                              ; preds = %242
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #3
  %248 = load i8, ptr %30, align 1, !tbaa !26, !range !27, !noundef !28
  %249 = trunc i8 %248 to i1
  br i1 %249, label %250, label %256

250:                                              ; preds = %247
  %251 = load ptr, ptr %33, align 8, !tbaa !5
  %252 = load i32, ptr %34, align 4, !tbaa !9
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds float, ptr %251, i64 %253
  %255 = load float, ptr %254, align 4, !tbaa !33
  br label %260

256:                                              ; preds = %247
  %257 = load ptr, ptr %33, align 8, !tbaa !5
  %258 = getelementptr inbounds float, ptr %257, i64 0
  %259 = load float, ptr %258, align 4, !tbaa !33
  br label %260

260:                                              ; preds = %256, %250
  %261 = phi float [ %255, %250 ], [ %259, %256 ]
  store float %261, ptr %35, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #3
  %262 = load float, ptr %35, align 4, !tbaa !33
  %263 = fpext float %262 to double
  store double %263, ptr %36, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #3
  %264 = load float, ptr %31, align 4, !tbaa !33
  %265 = fpext float %264 to double
  %266 = load double, ptr %36, align 8, !tbaa !34
  %267 = fmul double %265, %266
  %268 = load float, ptr %32, align 4, !tbaa !33
  %269 = fpext float %268 to double
  %270 = fdiv double %267, %269
  store double %270, ptr %37, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #3
  %271 = load double, ptr %37, align 8, !tbaa !34
  call void @_ZN6tflite18QuantizeMultiplierEdPiS0_(double noundef %271, ptr noundef %38, ptr noundef %39)
  %272 = load i32, ptr %38, align 4, !tbaa !9
  %273 = load ptr, ptr %25, align 8, !tbaa !5
  %274 = load i32, ptr %34, align 4, !tbaa !9
  %275 = sext i32 %274 to i64
  %276 = getelementptr inbounds i32, ptr %273, i64 %275
  store i32 %272, ptr %276, align 4, !tbaa !9
  %277 = load i32, ptr %39, align 4, !tbaa !9
  %278 = load ptr, ptr %26, align 8, !tbaa !5
  %279 = load i32, ptr %34, align 4, !tbaa !9
  %280 = sext i32 %279 to i64
  %281 = getelementptr inbounds i32, ptr %278, i64 %280
  store i32 %277, ptr %281, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #3
  br label %282

282:                                              ; preds = %260
  %283 = load i32, ptr %34, align 4, !tbaa !9
  %284 = add nsw i32 %283, 1
  store i32 %284, ptr %34, align 4, !tbaa !9
  br label %242, !llvm.loop !36

285:                                              ; preds = %246
  %286 = load ptr, ptr %16, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.TfLiteTensor, ptr %286, i32 0, i32 0
  %288 = load i32, ptr %287, align 8, !tbaa !29
  %289 = icmp eq i32 %288, 3
  br i1 %289, label %290, label %316

290:                                              ; preds = %285
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #3
  store double 0.000000e+00, ptr %40, align 8, !tbaa !34
  br label %291

291:                                              ; preds = %290
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #3
  %292 = load ptr, ptr %15, align 8, !tbaa !5
  %293 = load ptr, ptr %16, align 8, !tbaa !5
  %294 = load ptr, ptr %17, align 8, !tbaa !5
  %295 = load ptr, ptr %18, align 8, !tbaa !5
  %296 = load ptr, ptr %19, align 8, !tbaa !5
  %297 = call noundef i32 @_ZN6tflite32GetQuantizedConvolutionMultiplerEP13TfLiteContextPK12TfLiteTensorS4_S4_PS2_Pd(ptr noundef %292, ptr noundef %293, ptr noundef %294, ptr noundef %295, ptr noundef %296, ptr noundef %40)
  store i32 %297, ptr %41, align 4, !tbaa !38
  %298 = load i32, ptr %41, align 4, !tbaa !38
  %299 = icmp ne i32 %298, 0
  br i1 %299, label %300, label %302

300:                                              ; preds = %291
  %301 = load i32, ptr %41, align 4, !tbaa !38
  store i32 %301, ptr %14, align 4
  store i32 1, ptr %29, align 4
  br label %303

302:                                              ; preds = %291
  store i32 0, ptr %29, align 4
  br label %303

303:                                              ; preds = %302, %300
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #3
  %304 = load i32, ptr %29, align 4
  switch i32 %304, label %313 [
    i32 0, label %305
  ]

305:                                              ; preds = %303
  br label %306

306:                                              ; preds = %305
  br label %307

307:                                              ; preds = %306
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #3
  %308 = load double, ptr %40, align 8, !tbaa !34
  %309 = load ptr, ptr %21, align 8, !tbaa !5
  call void @_ZN6tflite18QuantizeMultiplierEdPiS0_(double noundef %308, ptr noundef %309, ptr noundef %42)
  %310 = load i32, ptr %42, align 4, !tbaa !9
  %311 = sub nsw i32 0, %310
  %312 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 %311, ptr %312, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #3
  store i32 0, ptr %29, align 4
  br label %313

313:                                              ; preds = %307, %303
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #3
  %314 = load i32, ptr %29, align 4
  switch i32 %314, label %351 [
    i32 0, label %315
  ]

315:                                              ; preds = %313
  br label %316

316:                                              ; preds = %315, %285
  %317 = load ptr, ptr %16, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.TfLiteTensor, ptr %317, i32 0, i32 0
  %319 = load i32, ptr %318, align 8, !tbaa !29
  %320 = icmp eq i32 %319, 9
  br i1 %320, label %331, label %321

321:                                              ; preds = %316
  %322 = load ptr, ptr %16, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.TfLiteTensor, ptr %322, i32 0, i32 0
  %324 = load i32, ptr %323, align 8, !tbaa !29
  %325 = icmp eq i32 %324, 3
  br i1 %325, label %331, label %326

326:                                              ; preds = %321
  %327 = load ptr, ptr %16, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.TfLiteTensor, ptr %327, i32 0, i32 0
  %329 = load i32, ptr %328, align 8, !tbaa !29
  %330 = icmp eq i32 %329, 7
  br i1 %330, label %331, label %350

331:                                              ; preds = %326, %321, %316
  br label %332

332:                                              ; preds = %331
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #3
  %333 = load ptr, ptr %15, align 8, !tbaa !5
  %334 = load ptr, ptr %20, align 8, !tbaa !5
  %335 = load i32, ptr %334, align 4, !tbaa !40
  %336 = load ptr, ptr %19, align 8, !tbaa !5
  %337 = load ptr, ptr %23, align 8, !tbaa !5
  %338 = load ptr, ptr %24, align 8, !tbaa !5
  %339 = call noundef i32 @_ZN6tflite33CalculateActivationRangeQuantizedEP13TfLiteContext21TfLiteFusedActivationP12TfLiteTensorPiS5_(ptr noundef %333, i32 noundef %335, ptr noundef %336, ptr noundef %337, ptr noundef %338)
  store i32 %339, ptr %43, align 4, !tbaa !38
  %340 = load i32, ptr %43, align 4, !tbaa !38
  %341 = icmp ne i32 %340, 0
  br i1 %341, label %342, label %344

342:                                              ; preds = %332
  %343 = load i32, ptr %43, align 4, !tbaa !38
  store i32 %343, ptr %14, align 4
  store i32 1, ptr %29, align 4
  br label %345

344:                                              ; preds = %332
  store i32 0, ptr %29, align 4
  br label %345

345:                                              ; preds = %344, %342
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #3
  %346 = load i32, ptr %29, align 4
  switch i32 %346, label %351 [
    i32 0, label %347
  ]

347:                                              ; preds = %345
  br label %348

348:                                              ; preds = %347
  br label %349

349:                                              ; preds = %348
  br label %350

350:                                              ; preds = %349, %326
  store i32 0, ptr %14, align 4
  store i32 1, ptr %29, align 4
  br label %351

351:                                              ; preds = %350, %345, %313
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #3
  br label %352

352:                                              ; preds = %351, %224, %189, %164, %143
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #3
  br label %353

353:                                              ; preds = %352, %112, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #3
  br label %354

354:                                              ; preds = %353, %79, %60
  %355 = load i32, ptr %14, align 4
  ret i32 %355
}

declare void @_ZN6tflite18QuantizeMultiplierEdPiS0_(double noundef, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN6tflite32GetQuantizedConvolutionMultiplerEP13TfLiteContextPK12TfLiteTensorS4_S4_PS2_Pd(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN6tflite33CalculateActivationRangeQuantizedEP13TfLiteContext21TfLiteFusedActivationP12TfLiteTensorPiS5_(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !20, i64 80}
!12 = !{!"_ZTS12TfLiteTensor", !13, i64 0, !7, i64 8, !6, i64 16, !14, i64 24, !16, i64 32, !17, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !10, i64 72, !18, i64 76, !18, i64 77, !19, i64 80, !6, i64 96, !6, i64 104}
!13 = !{!"_ZTS10TfLiteType", !7, i64 0}
!14 = !{!"_ZTS24TfLiteQuantizationParams", !15, i64 0, !10, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS20TfLiteAllocationType", !7, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTS18TfLiteQuantization", !20, i64 0, !6, i64 8}
!20 = !{!"_ZTS22TfLiteQuantizationType", !7, i64 0}
!21 = !{!22, !6, i64 40}
!22 = !{!"_ZTS13TfLiteContext", !17, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !10, i64 72, !6, i64 80, !6, i64 88, !18, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192}
!23 = !{!12, !6, i64 88}
!24 = !{!25, !6, i64 0}
!25 = !{!"_ZTS24TfLiteAffineQuantization", !6, i64 0, !6, i64 8, !10, i64 16}
!26 = !{!18, !18, i64 0}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!12, !13, i64 0}
!30 = !{!12, !6, i64 16}
!31 = !{!25, !10, i64 16}
!32 = !{!12, !15, i64 24}
!33 = !{!15, !15, i64 0}
!34 = !{!35, !35, i64 0}
!35 = !{!"double", !7, i64 0}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = !{!39, !39, i64 0}
!39 = !{!"_ZTS12TfLiteStatus", !7, i64 0}
!40 = !{!41, !41, i64 0}
!41 = !{!"_ZTS21TfLiteFusedActivation", !7, i64 0}


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

@.str = external hidden unnamed_addr constant [26 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [61 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN6tflite37PopulateConvolutionQuantizationParamsEP13TfLiteContextPK12TfLiteTensorS4_S4_PS2_RK21TfLiteFusedActivationPiS9_S9_S9_S9_S9_i(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr nocapture noundef nonnull readonly align 4 dereferenceable(4) %5, ptr noundef %6, ptr nocapture noundef writeonly %7, ptr noundef %8, ptr noundef %9, ptr nocapture noundef writeonly %10, ptr nocapture noundef writeonly %11, i32 noundef %12) local_unnamed_addr #1 {
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca double, align 8
  %17 = alloca i32, align 4
  %18 = getelementptr inbounds i8, ptr %1, i64 80
  %19 = load i32, ptr %18, align 8, !tbaa !5
  %.not = icmp eq i32 %19, 1
  br i1 %.not, label %23, label %20

20:                                               ; preds = %13
  %21 = getelementptr inbounds i8, ptr %0, i64 40
  %22 = load ptr, ptr %21, align 8, !tbaa !19
  tail call void (ptr, ptr, ...) %22(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 223, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef %19, i32 noundef 1)
  br label %115

23:                                               ; preds = %13
  %24 = getelementptr inbounds i8, ptr %2, i64 80
  %25 = load i32, ptr %24, align 8, !tbaa !5
  %.not98 = icmp eq i32 %25, 1
  br i1 %.not98, label %29, label %26

26:                                               ; preds = %23
  %27 = getelementptr inbounds i8, ptr %0, i64 40
  %28 = load ptr, ptr %27, align 8, !tbaa !19
  tail call void (ptr, ptr, ...) %28(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 225, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.3, i32 noundef %25, i32 noundef 1)
  br label %115

29:                                               ; preds = %23
  %30 = getelementptr inbounds i8, ptr %2, i64 88
  %31 = load ptr, ptr %30, align 8, !tbaa !21
  %.not99 = icmp eq ptr %31, null
  br i1 %.not99, label %32, label %35

32:                                               ; preds = %29
  %33 = getelementptr inbounds i8, ptr %0, i64 40
  %34 = load ptr, ptr %33, align 8, !tbaa !19
  tail call void (ptr, ptr, ...) %34(ptr noundef %0, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 235, ptr noundef nonnull @.str.6)
  br label %115

35:                                               ; preds = %29
  %36 = load ptr, ptr %31, align 8, !tbaa !22
  %.not100 = icmp eq ptr %36, null
  br i1 %.not100, label %37, label %40

37:                                               ; preds = %35
  %38 = getelementptr inbounds i8, ptr %0, i64 40
  %39 = load ptr, ptr %38, align 8, !tbaa !19
  tail call void (ptr, ptr, ...) %39(ptr noundef %0, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 236, ptr noundef nonnull @.str.7)
  br label %115

40:                                               ; preds = %35
  %41 = load i32, ptr %36, align 4, !tbaa !24
  %42 = icmp sgt i32 %41, 1
  br i1 %42, label %43, label %69

43:                                               ; preds = %40
  %44 = load i32, ptr %1, align 8, !tbaa !25
  switch i32 %44, label %45 [
    i32 9, label %48
    i32 7, label %48
  ]

45:                                               ; preds = %43
  %46 = getelementptr inbounds i8, ptr %0, i64 40
  %47 = load ptr, ptr %46, align 8, !tbaa !19
  tail call void (ptr, ptr, ...) %47(ptr noundef %0, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 241, ptr noundef nonnull @.str.8)
  br label %115

48:                                               ; preds = %43, %43
  %49 = load i32, ptr %2, align 8, !tbaa !25
  switch i32 %49, label %50 [
    i32 9, label %53
    i32 18, label %53
  ]

50:                                               ; preds = %48
  %51 = getelementptr inbounds i8, ptr %0, i64 40
  %52 = load ptr, ptr %51, align 8, !tbaa !19
  tail call void (ptr, ptr, ...) %52(ptr noundef %0, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 243, ptr noundef nonnull @.str.9)
  br label %115

53:                                               ; preds = %48, %48
  %.not101 = icmp eq i32 %41, %12
  br i1 %.not101, label %57, label %54

54:                                               ; preds = %53
  %55 = getelementptr inbounds i8, ptr %0, i64 40
  %56 = load ptr, ptr %55, align 8, !tbaa !19
  tail call void (ptr, ptr, ...) %56(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 244, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.11, i32 noundef %41, i32 noundef %12)
  br label %115

57:                                               ; preds = %53
  %58 = getelementptr inbounds i8, ptr %2, i64 16
  %59 = load ptr, ptr %58, align 8, !tbaa !26
  %60 = getelementptr inbounds i8, ptr %59, i64 4
  %61 = getelementptr inbounds i8, ptr %31, i64 16
  %62 = load i32, ptr %61, align 8, !tbaa !27
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [0 x i32], ptr %60, i64 0, i64 %63
  %65 = load i32, ptr %64, align 4, !tbaa !24
  %.not102 = icmp eq i32 %65, %12
  br i1 %.not102, label %.lr.ph.split.us.preheader, label %66

66:                                               ; preds = %57
  %67 = getelementptr inbounds i8, ptr %0, i64 40
  %68 = load ptr, ptr %67, align 8, !tbaa !19
  tail call void (ptr, ptr, ...) %68(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 247, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.12, i32 noundef %12, i32 noundef %65)
  br label %115

69:                                               ; preds = %40
  %70 = getelementptr inbounds i8, ptr %36, i64 4
  %71 = icmp sgt i32 %12, 0
  br i1 %71, label %.lr.ph.split.preheader, label %._crit_edge

.lr.ph.split.preheader:                           ; preds = %69
  %72 = getelementptr inbounds i8, ptr %4, i64 24
  %73 = load float, ptr %72, align 8, !tbaa !28
  %74 = getelementptr inbounds i8, ptr %1, i64 24
  %75 = load float, ptr %74, align 8, !tbaa !28
  %76 = fpext float %75 to double
  %77 = fpext float %73 to double
  %wide.trip.count = zext nneg i32 %12 to i64
  br label %.lr.ph.split

.lr.ph.split.us.preheader:                        ; preds = %57
  %78 = getelementptr inbounds i8, ptr %36, i64 4
  %79 = getelementptr inbounds i8, ptr %4, i64 24
  %80 = load float, ptr %79, align 8, !tbaa !28
  %81 = getelementptr inbounds i8, ptr %1, i64 24
  %82 = load float, ptr %81, align 8, !tbaa !28
  %83 = fpext float %82 to double
  %84 = fpext float %80 to double
  %wide.trip.count111 = zext nneg i32 %12 to i64
  br label %.lr.ph.split.us

.lr.ph.split.us:                                  ; preds = %.lr.ph.split.us.preheader, %.lr.ph.split.us
  %indvars.iv108 = phi i64 [ 0, %.lr.ph.split.us.preheader ], [ %indvars.iv.next109, %.lr.ph.split.us ]
  %.in.us = getelementptr inbounds float, ptr %78, i64 %indvars.iv108
  %85 = load float, ptr %.in.us, align 4, !tbaa !29
  %86 = fpext float %85 to double
  %87 = fmul double %83, %86
  %88 = fdiv double %87, %84
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #3
  call void @_ZN6tflite18QuantizeMultiplierEdPiS0_(double noundef %88, ptr noundef nonnull %14, ptr noundef nonnull %15)
  %89 = load i32, ptr %14, align 4, !tbaa !24
  %90 = getelementptr inbounds i32, ptr %10, i64 %indvars.iv108
  store i32 %89, ptr %90, align 4, !tbaa !24
  %91 = load i32, ptr %15, align 4, !tbaa !24
  %92 = getelementptr inbounds i32, ptr %11, i64 %indvars.iv108
  store i32 %91, ptr %92, align 4, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #3
  %indvars.iv.next109 = add nuw nsw i64 %indvars.iv108, 1
  %exitcond112.not = icmp eq i64 %indvars.iv.next109, %wide.trip.count111
  br i1 %exitcond112.not, label %._crit_edge, label %.lr.ph.split.us, !llvm.loop !30

._crit_edge:                                      ; preds = %.lr.ph.split, %.lr.ph.split.us, %69
  %93 = load i32, ptr %1, align 8, !tbaa !25
  %94 = icmp eq i32 %93, 3
  br i1 %94, label %103, label %109

.lr.ph.split:                                     ; preds = %.lr.ph.split.preheader, %.lr.ph.split
  %indvars.iv = phi i64 [ 0, %.lr.ph.split.preheader ], [ %indvars.iv.next, %.lr.ph.split ]
  %95 = load float, ptr %70, align 4, !tbaa !29
  %96 = fpext float %95 to double
  %97 = fmul double %76, %96
  %98 = fdiv double %97, %77
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #3
  call void @_ZN6tflite18QuantizeMultiplierEdPiS0_(double noundef %98, ptr noundef nonnull %14, ptr noundef nonnull %15)
  %99 = load i32, ptr %14, align 4, !tbaa !24
  %100 = getelementptr inbounds i32, ptr %10, i64 %indvars.iv
  store i32 %99, ptr %100, align 4, !tbaa !24
  %101 = load i32, ptr %15, align 4, !tbaa !24
  %102 = getelementptr inbounds i32, ptr %11, i64 %indvars.iv
  store i32 %101, ptr %102, align 4, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #3
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph.split, !llvm.loop !30

103:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #3
  store double 0.000000e+00, ptr %16, align 8, !tbaa !32
  %104 = call noundef i32 @_ZN6tflite32GetQuantizedConvolutionMultiplerEP13TfLiteContextPK12TfLiteTensorS4_S4_PS2_Pd(ptr noundef %0, ptr noundef nonnull %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef nonnull %16)
  %.not103 = icmp eq i32 %104, 0
  br i1 %.not103, label %105, label %.critedge

105:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #3
  %106 = load double, ptr %16, align 8, !tbaa !32
  call void @_ZN6tflite18QuantizeMultiplierEdPiS0_(double noundef %106, ptr noundef %6, ptr noundef nonnull %17)
  %107 = load i32, ptr %17, align 4, !tbaa !24
  %108 = sub nsw i32 0, %107
  store i32 %108, ptr %7, align 4, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #3
  %.pr = load i32, ptr %1, align 8, !tbaa !25
  br label %109

109:                                              ; preds = %105, %._crit_edge
  %110 = phi i32 [ %.pr, %105 ], [ %93, %._crit_edge ]
  switch i32 %110, label %114 [
    i32 9, label %111
    i32 3, label %111
    i32 7, label %111
  ]

111:                                              ; preds = %109, %109, %109
  %112 = load i32, ptr %5, align 4, !tbaa !34
  %113 = call noundef i32 @_ZN6tflite33CalculateActivationRangeQuantizedEP13TfLiteContext21TfLiteFusedActivationP12TfLiteTensorPiS5_(ptr noundef %0, i32 noundef %112, ptr noundef %4, ptr noundef %8, ptr noundef %9)
  %.not104 = icmp eq i32 %113, 0
  br i1 %.not104, label %114, label %115

114:                                              ; preds = %109, %111
  br label %115

.critedge:                                        ; preds = %103
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #3
  br label %115

115:                                              ; preds = %32, %37, %114, %111, %.critedge, %66, %54, %50, %45, %26, %20
  %.6 = phi i32 [ 1, %20 ], [ 1, %26 ], [ 1, %37 ], [ 1, %32 ], [ 1, %54 ], [ 1, %66 ], [ 1, %50 ], [ 1, %45 ], [ 0, %114 ], [ %113, %111 ], [ %104, %.critedge ]
  ret i32 %.6
}

declare void @_ZN6tflite18QuantizeMultiplierEdPiS0_(double noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN6tflite32GetQuantizedConvolutionMultiplerEP13TfLiteContextPK12TfLiteTensorS4_S4_PS2_Pd(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN6tflite33CalculateActivationRangeQuantizedEP13TfLiteContext21TfLiteFusedActivationP12TfLiteTensorPiS5_(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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, !18, i64 80}
!6 = !{!"_ZTS12TfLiteTensor", !7, i64 0, !8, i64 8, !10, i64 16, !11, i64 24, !14, i64 32, !15, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !13, i64 72, !16, i64 76, !16, i64 77, !17, i64 80, !10, i64 96, !10, i64 104}
!7 = !{!"_ZTS10TfLiteType", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_ZTS24TfLiteQuantizationParams", !12, i64 0, !13, i64 4}
!12 = !{!"float", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!"_ZTS20TfLiteAllocationType", !8, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = !{!"bool", !8, i64 0}
!17 = !{!"_ZTS18TfLiteQuantization", !18, i64 0, !10, i64 8}
!18 = !{!"_ZTS22TfLiteQuantizationType", !8, i64 0}
!19 = !{!20, !10, i64 40}
!20 = !{!"_ZTS13TfLiteContext", !15, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !13, i64 72, !10, i64 80, !10, i64 88, !16, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192}
!21 = !{!6, !10, i64 88}
!22 = !{!23, !10, i64 0}
!23 = !{!"_ZTS24TfLiteAffineQuantization", !10, i64 0, !10, i64 8, !13, i64 16}
!24 = !{!13, !13, i64 0}
!25 = !{!6, !7, i64 0}
!26 = !{!6, !10, i64 16}
!27 = !{!23, !13, i64 16}
!28 = !{!6, !12, i64 24}
!29 = !{!12, !12, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!33, !33, i64 0}
!33 = !{!"double", !8, i64 0}
!34 = !{!35, !35, i64 0}
!35 = !{!"_ZTS21TfLiteFusedActivation", !8, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass