; LLVM IR from aap/librw :: src/lodepng/lodepng.ll (Z28lodepng_huffman_code_lengthsPjPKjmj)

; 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.BPMLists = type { i32, ptr, i32, i32, ptr, i32, ptr, ptr }
%struct.BPMNode = type { i32, i32, ptr, i32 }

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL14lodepng_mallocm(i64 noundef) #1

; 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 @_Z28lodepng_huffman_code_lengthsPjPKjmj(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #2 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %struct.BPMLists, align 8
  %16 = alloca ptr, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i64 %2, ptr %8, align 8, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 0, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  store i64 0, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %17 = load i64, ptr %8, align 8, !tbaa !9
  %18 = icmp eq i64 %17, 0
  br i1 %18, label %19, label %20

19:                                               ; preds = %4
  store i32 80, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %283

20:                                               ; preds = %4
  %21 = load i32, ptr %9, align 4, !tbaa !11
  %22 = shl i32 1, %21
  %23 = load i64, ptr %8, align 8, !tbaa !9
  %24 = trunc i64 %23 to i32
  %25 = icmp ult i32 %22, %24
  br i1 %25, label %26, label %27

26:                                               ; preds = %20
  store i32 80, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %283

27:                                               ; preds = %20
  %28 = load i64, ptr %8, align 8, !tbaa !9
  %29 = mul i64 %28, 24
  %30 = call noundef ptr @_ZL14lodepng_mallocm(i64 noundef %29)
  store ptr %30, ptr %13, align 8, !tbaa !5
  %31 = load ptr, ptr %13, align 8, !tbaa !5
  %32 = icmp ne ptr %31, null
  br i1 %32, label %34, label %33

33:                                               ; preds = %27
  store i32 83, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %283

34:                                               ; preds = %27
  store i32 0, ptr %11, align 4, !tbaa !11
  br label %35

35:                                               ; preds = %65, %34
  %36 = load i32, ptr %11, align 4, !tbaa !11
  %37 = zext i32 %36 to i64
  %38 = load i64, ptr %8, align 8, !tbaa !9
  %39 = icmp ne i64 %37, %38
  br i1 %39, label %40, label %68

40:                                               ; preds = %35
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = load i32, ptr %11, align 4, !tbaa !11
  %43 = zext i32 %42 to i64
  %44 = getelementptr inbounds i32, ptr %41, i64 %43
  %45 = load i32, ptr %44, align 4, !tbaa !11
  %46 = icmp ugt i32 %45, 0
  br i1 %46, label %47, label %64

47:                                               ; preds = %40
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = load i32, ptr %11, align 4, !tbaa !11
  %50 = zext i32 %49 to i64
  %51 = getelementptr inbounds i32, ptr %48, i64 %50
  %52 = load i32, ptr %51, align 4, !tbaa !11
  %53 = load ptr, ptr %13, align 8, !tbaa !5
  %54 = load i64, ptr %12, align 8, !tbaa !9
  %55 = getelementptr inbounds %struct.BPMNode, ptr %53, i64 %54
  %56 = getelementptr inbounds %struct.BPMNode, ptr %55, i32 0, i32 0
  store i32 %52, ptr %56, align 8, !tbaa !13
  %57 = load i32, ptr %11, align 4, !tbaa !11
  %58 = load ptr, ptr %13, align 8, !tbaa !5
  %59 = load i64, ptr %12, align 8, !tbaa !9
  %60 = getelementptr inbounds %struct.BPMNode, ptr %58, i64 %59
  %61 = getelementptr inbounds %struct.BPMNode, ptr %60, i32 0, i32 1
  store i32 %57, ptr %61, align 4, !tbaa !15
  %62 = load i64, ptr %12, align 8, !tbaa !9
  %63 = add i64 %62, 1
  store i64 %63, ptr %12, align 8, !tbaa !9
  br label %64

64:                                               ; preds = %47, %40
  br label %65

65:                                               ; preds = %64
  %66 = load i32, ptr %11, align 4, !tbaa !11
  %67 = add i32 %66, 1
  store i32 %67, ptr %11, align 4, !tbaa !11
  br label %35, !llvm.loop !16

68:                                               ; preds = %35
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = load i64, ptr %8, align 8, !tbaa !9
  %71 = mul i64 %70, 4
  call void @_ZL14lodepng_memsetPvim(ptr noundef %69, i32 noundef 0, i64 noundef %71)
  %72 = load i64, ptr %12, align 8, !tbaa !9
  %73 = icmp eq i64 %72, 0
  br i1 %73, label %74, label %79

74:                                               ; preds = %68
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds i32, ptr %75, i64 1
  store i32 1, ptr %76, align 4, !tbaa !11
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = getelementptr inbounds i32, ptr %77, i64 0
  store i32 1, ptr %78, align 4, !tbaa !11
  br label %280

79:                                               ; preds = %68
  %80 = load i64, ptr %12, align 8, !tbaa !9
  %81 = icmp eq i64 %80, 1
  br i1 %81, label %82, label %100

82:                                               ; preds = %79
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = load ptr, ptr %13, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.BPMNode, ptr %84, i64 0
  %86 = getelementptr inbounds %struct.BPMNode, ptr %85, i32 0, i32 1
  %87 = load i32, ptr %86, align 4, !tbaa !15
  %88 = zext i32 %87 to i64
  %89 = getelementptr inbounds i32, ptr %83, i64 %88
  store i32 1, ptr %89, align 4, !tbaa !11
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = load ptr, ptr %13, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.BPMNode, ptr %91, i64 0
  %93 = getelementptr inbounds %struct.BPMNode, ptr %92, i32 0, i32 1
  %94 = load i32, ptr %93, align 4, !tbaa !15
  %95 = icmp eq i32 %94, 0
  %96 = zext i1 %95 to i64
  %97 = select i1 %95, i32 1, i32 0
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds i32, ptr %90, i64 %98
  store i32 1, ptr %99, align 4, !tbaa !11
  br label %279

100:                                              ; preds = %79
  call void @llvm.lifetime.start.p0(i64 56, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  %101 = load ptr, ptr %13, align 8, !tbaa !5
  %102 = load i64, ptr %12, align 8, !tbaa !9
  call void @_ZL12bpmnode_sortP7BPMNodem(ptr noundef %101, i64 noundef %102)
  %103 = load i32, ptr %9, align 4, !tbaa !11
  %104 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 5
  store i32 %103, ptr %104, align 8, !tbaa !18
  %105 = load i32, ptr %9, align 4, !tbaa !11
  %106 = mul i32 2, %105
  %107 = load i32, ptr %9, align 4, !tbaa !11
  %108 = add i32 %107, 1
  %109 = mul i32 %106, %108
  %110 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 0
  store i32 %109, ptr %110, align 8, !tbaa !20
  %111 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 3
  store i32 0, ptr %111, align 4, !tbaa !21
  %112 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 0
  %113 = load i32, ptr %112, align 8, !tbaa !20
  %114 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 2
  store i32 %113, ptr %114, align 8, !tbaa !22
  %115 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 0
  %116 = load i32, ptr %115, align 8, !tbaa !20
  %117 = zext i32 %116 to i64
  %118 = mul i64 %117, 24
  %119 = call noundef ptr @_ZL14lodepng_mallocm(i64 noundef %118)
  %120 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 1
  store ptr %119, ptr %120, align 8, !tbaa !23
  %121 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 0
  %122 = load i32, ptr %121, align 8, !tbaa !20
  %123 = zext i32 %122 to i64
  %124 = mul i64 %123, 8
  %125 = call noundef ptr @_ZL14lodepng_mallocm(i64 noundef %124)
  %126 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 4
  store ptr %125, ptr %126, align 8, !tbaa !24
  %127 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 5
  %128 = load i32, ptr %127, align 8, !tbaa !18
  %129 = zext i32 %128 to i64
  %130 = mul i64 %129, 8
  %131 = call noundef ptr @_ZL14lodepng_mallocm(i64 noundef %130)
  %132 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 6
  store ptr %131, ptr %132, align 8, !tbaa !25
  %133 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 5
  %134 = load i32, ptr %133, align 8, !tbaa !18
  %135 = zext i32 %134 to i64
  %136 = mul i64 %135, 8
  %137 = call noundef ptr @_ZL14lodepng_mallocm(i64 noundef %136)
  %138 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 7
  store ptr %137, ptr %138, align 8, !tbaa !26
  %139 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 1
  %140 = load ptr, ptr %139, align 8, !tbaa !23
  %141 = icmp ne ptr %140, null
  br i1 %141, label %142, label %154

142:                                              ; preds = %100
  %143 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 4
  %144 = load ptr, ptr %143, align 8, !tbaa !24
  %145 = icmp ne ptr %144, null
  br i1 %145, label %146, label %154

146:                                              ; preds = %142
  %147 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 6
  %148 = load ptr, ptr %147, align 8, !tbaa !25
  %149 = icmp ne ptr %148, null
  br i1 %149, label %150, label %154

150:                                              ; preds = %146
  %151 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 7
  %152 = load ptr, ptr %151, align 8, !tbaa !26
  %153 = icmp ne ptr %152, null
  br i1 %153, label %155, label %154

154:                                              ; preds = %150, %146, %142, %100
  store i32 83, ptr %10, align 4, !tbaa !11
  br label %155

155:                                              ; preds = %154, %150
  %156 = load i32, ptr %10, align 4, !tbaa !11
  %157 = icmp ne i32 %156, 0
  br i1 %157, label %270, label %158

158:                                              ; preds = %155
  store i32 0, ptr %11, align 4, !tbaa !11
  br label %159

159:                                              ; preds = %175, %158
  %160 = load i32, ptr %11, align 4, !tbaa !11
  %161 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 0
  %162 = load i32, ptr %161, align 8, !tbaa !20
  %163 = icmp ne i32 %160, %162
  br i1 %163, label %164, label %178

164:                                              ; preds = %159
  %165 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 1
  %166 = load ptr, ptr %165, align 8, !tbaa !23
  %167 = load i32, ptr %11, align 4, !tbaa !11
  %168 = zext i32 %167 to i64
  %169 = getelementptr inbounds %struct.BPMNode, ptr %166, i64 %168
  %170 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 4
  %171 = load ptr, ptr %170, align 8, !tbaa !24
  %172 = load i32, ptr %11, align 4, !tbaa !11
  %173 = zext i32 %172 to i64
  %174 = getelementptr inbounds ptr, ptr %171, i64 %173
  store ptr %169, ptr %174, align 8, !tbaa !5
  br label %175

175:                                              ; preds = %164
  %176 = load i32, ptr %11, align 4, !tbaa !11
  %177 = add i32 %176, 1
  store i32 %177, ptr %11, align 4, !tbaa !11
  br label %159, !llvm.loop !27

178:                                              ; preds = %159
  %179 = load ptr, ptr %13, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.BPMNode, ptr %179, i64 0
  %181 = getelementptr inbounds %struct.BPMNode, ptr %180, i32 0, i32 0
  %182 = load i32, ptr %181, align 8, !tbaa !13
  %183 = call noundef ptr @_ZL14bpmnode_createP8BPMListsijP7BPMNode(ptr noundef %15, i32 noundef %182, i32 noundef 1, ptr noundef null)
  %184 = load ptr, ptr %13, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.BPMNode, ptr %184, i64 1
  %186 = getelementptr inbounds %struct.BPMNode, ptr %185, i32 0, i32 0
  %187 = load i32, ptr %186, align 8, !tbaa !13
  %188 = call noundef ptr @_ZL14bpmnode_createP8BPMListsijP7BPMNode(ptr noundef %15, i32 noundef %187, i32 noundef 2, ptr noundef null)
  store i32 0, ptr %11, align 4, !tbaa !11
  br label %189

189:                                              ; preds = %211, %178
  %190 = load i32, ptr %11, align 4, !tbaa !11
  %191 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 5
  %192 = load i32, ptr %191, align 8, !tbaa !18
  %193 = icmp ne i32 %190, %192
  br i1 %193, label %194, label %214

194:                                              ; preds = %189
  %195 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 1
  %196 = load ptr, ptr %195, align 8, !tbaa !23
  %197 = getelementptr inbounds %struct.BPMNode, ptr %196, i64 0
  %198 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 6
  %199 = load ptr, ptr %198, align 8, !tbaa !25
  %200 = load i32, ptr %11, align 4, !tbaa !11
  %201 = zext i32 %200 to i64
  %202 = getelementptr inbounds ptr, ptr %199, i64 %201
  store ptr %197, ptr %202, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 1
  %204 = load ptr, ptr %203, align 8, !tbaa !23
  %205 = getelementptr inbounds %struct.BPMNode, ptr %204, i64 1
  %206 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 7
  %207 = load ptr, ptr %206, align 8, !tbaa !26
  %208 = load i32, ptr %11, align 4, !tbaa !11
  %209 = zext i32 %208 to i64
  %210 = getelementptr inbounds ptr, ptr %207, i64 %209
  store ptr %205, ptr %210, align 8, !tbaa !5
  br label %211

211:                                              ; preds = %194
  %212 = load i32, ptr %11, align 4, !tbaa !11
  %213 = add i32 %212, 1
  store i32 %213, ptr %11, align 4, !tbaa !11
  br label %189, !llvm.loop !28

214:                                              ; preds = %189
  store i32 2, ptr %11, align 4, !tbaa !11
  br label %215

215:                                              ; preds = %228, %214
  %216 = load i32, ptr %11, align 4, !tbaa !11
  %217 = zext i32 %216 to i64
  %218 = load i64, ptr %12, align 8, !tbaa !9
  %219 = mul i64 2, %218
  %220 = sub i64 %219, 2
  %221 = icmp ne i64 %217, %220
  br i1 %221, label %222, label %231

222:                                              ; preds = %215
  %223 = load ptr, ptr %13, align 8, !tbaa !5
  %224 = load i64, ptr %12, align 8, !tbaa !9
  %225 = load i32, ptr %9, align 4, !tbaa !11
  %226 = sub nsw i32 %225, 1
  %227 = load i32, ptr %11, align 4, !tbaa !11
  call void @_ZL10boundaryPMP8BPMListsP7BPMNodemii(ptr noundef %15, ptr noundef %223, i64 noundef %224, i32 noundef %226, i32 noundef %227)
  br label %228

228:                                              ; preds = %222
  %229 = load i32, ptr %11, align 4, !tbaa !11
  %230 = add i32 %229, 1
  store i32 %230, ptr %11, align 4, !tbaa !11
  br label %215, !llvm.loop !29

231:                                              ; preds = %215
  %232 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 7
  %233 = load ptr, ptr %232, align 8, !tbaa !26
  %234 = load i32, ptr %9, align 4, !tbaa !11
  %235 = sub i32 %234, 1
  %236 = zext i32 %235 to i64
  %237 = getelementptr inbounds ptr, ptr %233, i64 %236
  %238 = load ptr, ptr %237, align 8, !tbaa !5
  store ptr %238, ptr %16, align 8, !tbaa !5
  br label %239

239:                                              ; preds = %265, %231
  %240 = load ptr, ptr %16, align 8, !tbaa !5
  %241 = icmp ne ptr %240, null
  br i1 %241, label %242, label %269

242:                                              ; preds = %239
  store i32 0, ptr %11, align 4, !tbaa !11
  br label %243

243:                                              ; preds = %261, %242
  %244 = load i32, ptr %11, align 4, !tbaa !11
  %245 = load ptr, ptr %16, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.BPMNode, ptr %245, i32 0, i32 1
  %247 = load i32, ptr %246, align 4, !tbaa !15
  %248 = icmp ne i32 %244, %247
  br i1 %248, label %249, label %264

249:                                              ; preds = %243
  %250 = load ptr, ptr %6, align 8, !tbaa !5
  %251 = load ptr, ptr %13, align 8, !tbaa !5
  %252 = load i32, ptr %11, align 4, !tbaa !11
  %253 = zext i32 %252 to i64
  %254 = getelementptr inbounds %struct.BPMNode, ptr %251, i64 %253
  %255 = getelementptr inbounds %struct.BPMNode, ptr %254, i32 0, i32 1
  %256 = load i32, ptr %255, align 4, !tbaa !15
  %257 = zext i32 %256 to i64
  %258 = getelementptr inbounds i32, ptr %250, i64 %257
  %259 = load i32, ptr %258, align 4, !tbaa !11
  %260 = add i32 %259, 1
  store i32 %260, ptr %258, align 4, !tbaa !11
  br label %261

261:                                              ; preds = %249
  %262 = load i32, ptr %11, align 4, !tbaa !11
  %263 = add i32 %262, 1
  store i32 %263, ptr %11, align 4, !tbaa !11
  br label %243, !llvm.loop !30

264:                                              ; preds = %243
  br label %265

265:                                              ; preds = %264
  %266 = load ptr, ptr %16, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.BPMNode, ptr %266, i32 0, i32 2
  %268 = load ptr, ptr %267, align 8, !tbaa !31
  store ptr %268, ptr %16, align 8, !tbaa !5
  br label %239, !llvm.loop !32

269:                                              ; preds = %239
  br label %270

270:                                              ; preds = %269, %155
  %271 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 1
  %272 = load ptr, ptr %271, align 8, !tbaa !23
  call void @_ZL12lodepng_freePv(ptr noundef %272)
  %273 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 4
  %274 = load ptr, ptr %273, align 8, !tbaa !24
  call void @_ZL12lodepng_freePv(ptr noundef %274)
  %275 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 6
  %276 = load ptr, ptr %275, align 8, !tbaa !25
  call void @_ZL12lodepng_freePv(ptr noundef %276)
  %277 = getelementptr inbounds %struct.BPMLists, ptr %15, i32 0, i32 7
  %278 = load ptr, ptr %277, align 8, !tbaa !26
  call void @_ZL12lodepng_freePv(ptr noundef %278)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 56, ptr %15) #3
  br label %279

279:                                              ; preds = %270, %82
  br label %280

280:                                              ; preds = %279, %74
  %281 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZL12lodepng_freePv(ptr noundef %281)
  %282 = load i32, ptr %10, align 4, !tbaa !11
  store i32 %282, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %283

283:                                              ; preds = %280, %33, %26, %19
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  %284 = load i32, ptr %5, align 4
  ret i32 %284
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL14lodepng_memsetPvim(ptr noalias noundef, i32 noundef, i64 noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL12bpmnode_sortP7BPMNodem(ptr noundef, i64 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL14bpmnode_createP8BPMListsijP7BPMNode(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL10boundaryPMP8BPMListsP7BPMNodemii(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL12lodepng_freePv(ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"_ZTS7BPMNode", !12, i64 0, !12, i64 4, !6, i64 8, !12, i64 16}
!15 = !{!14, !12, i64 4}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !12, i64 32}
!19 = !{!"_ZTS8BPMLists", !12, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !6, i64 24, !12, i64 32, !6, i64 40, !6, i64 48}
!20 = !{!19, !12, i64 0}
!21 = !{!19, !12, i64 20}
!22 = !{!19, !12, i64 16}
!23 = !{!19, !6, i64 8}
!24 = !{!19, !6, i64 24}
!25 = !{!19, !6, i64 40}
!26 = !{!19, !6, i64 48}
!27 = distinct !{!27, !17}
!28 = distinct !{!28, !17}
!29 = distinct !{!29, !17}
!30 = distinct !{!30, !17}
!31 = !{!14, !6, i64 8}
!32 = distinct !{!32, !17}


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

%struct.BPMLists = type { i32, ptr, i32, i32, ptr, i32, ptr, ptr }
%struct.BPMNode = type { i32, i32, ptr, i32 }

; 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 nounwind uwtable
declare hidden noundef ptr @_ZL14lodepng_mallocm(i64 noundef) local_unnamed_addr #1

; 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 range(i32 0, 84) i32 @_Z28lodepng_huffman_code_lengthsPjPKjmj(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #2 {
  %5 = alloca %struct.BPMLists, align 8
  %6 = icmp eq i64 %2, 0
  %7 = shl nuw i32 1, %3
  %8 = trunc i64 %2 to i32
  %9 = icmp ult i32 %7, %8
  %or.cond90 = select i1 %6, i1 true, i1 %9
  br i1 %or.cond90, label %119, label %10

10:                                               ; preds = %4
  %11 = mul i64 %2, 24
  %12 = tail call noundef ptr @_ZL14lodepng_mallocm(i64 noundef %11)
  %.not = icmp eq ptr %12, null
  br i1 %.not, label %119, label %.lr.ph

.lr.ph:                                           ; preds = %10, %20
  %13 = phi i64 [ %22, %20 ], [ 0, %10 ]
  %.07196 = phi i64 [ %.1, %20 ], [ 0, %10 ]
  %.07295 = phi i32 [ %21, %20 ], [ 0, %10 ]
  %14 = getelementptr inbounds i32, ptr %1, i64 %13
  %15 = load i32, ptr %14, align 4, !tbaa !5
  %.not87 = icmp eq i32 %15, 0
  br i1 %.not87, label %20, label %16

16:                                               ; preds = %.lr.ph
  %17 = getelementptr inbounds %struct.BPMNode, ptr %12, i64 %.07196
  store i32 %15, ptr %17, align 8, !tbaa !9
  %18 = getelementptr inbounds i8, ptr %17, i64 4
  store i32 %.07295, ptr %18, align 4, !tbaa !12
  %19 = add i64 %.07196, 1
  br label %20

20:                                               ; preds = %.lr.ph, %16
  %.1 = phi i64 [ %19, %16 ], [ %.07196, %.lr.ph ]
  %21 = add i32 %.07295, 1
  %22 = zext i32 %21 to i64
  %.not80 = icmp eq i64 %22, %2
  br i1 %.not80, label %._crit_edge, label %.lr.ph, !llvm.loop !13

._crit_edge:                                      ; preds = %20
  %23 = shl nuw nsw i64 %2, 2
  tail call void @_ZL14lodepng_memsetPvim(ptr noundef %0, i32 noundef 0, i64 noundef %23)
  switch i64 %.1, label %35 [
    i64 0, label %24
    i64 1, label %26
  ]

24:                                               ; preds = %._crit_edge
  %25 = getelementptr inbounds i8, ptr %0, i64 4
  store i32 1, ptr %25, align 4, !tbaa !5
  store i32 1, ptr %0, align 4, !tbaa !5
  br label %118

26:                                               ; preds = %._crit_edge
  %27 = getelementptr inbounds i8, ptr %12, i64 4
  %28 = load i32, ptr %27, align 4, !tbaa !12
  %29 = zext i32 %28 to i64
  %30 = getelementptr inbounds i32, ptr %0, i64 %29
  store i32 1, ptr %30, align 4, !tbaa !5
  %31 = load i32, ptr %27, align 4, !tbaa !12
  %32 = icmp eq i32 %31, 0
  %33 = zext i1 %32 to i64
  %34 = getelementptr inbounds i32, ptr %0, i64 %33
  store i32 1, ptr %34, align 4, !tbaa !5
  br label %118

35:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %5) #3
  tail call void @_ZL12bpmnode_sortP7BPMNodem(ptr noundef nonnull %12, i64 noundef %.1)
  %36 = getelementptr inbounds i8, ptr %5, i64 32
  store i32 %3, ptr %36, align 8, !tbaa !15
  %37 = shl i32 %3, 1
  %38 = add i32 %3, 1
  %39 = mul i32 %37, %38
  store i32 %39, ptr %5, align 8, !tbaa !17
  %40 = getelementptr inbounds i8, ptr %5, i64 20
  store i32 0, ptr %40, align 4, !tbaa !18
  %41 = getelementptr inbounds i8, ptr %5, i64 16
  store i32 %39, ptr %41, align 8, !tbaa !19
  %42 = zext i32 %39 to i64
  %43 = mul nuw nsw i64 %42, 24
  %44 = tail call noundef ptr @_ZL14lodepng_mallocm(i64 noundef %43)
  %45 = getelementptr inbounds i8, ptr %5, i64 8
  store ptr %44, ptr %45, align 8, !tbaa !20
  %46 = shl nuw nsw i64 %42, 3
  %47 = tail call noundef ptr @_ZL14lodepng_mallocm(i64 noundef %46)
  %48 = getelementptr inbounds i8, ptr %5, i64 24
  store ptr %47, ptr %48, align 8, !tbaa !21
  %49 = zext i32 %3 to i64
  %50 = shl nuw nsw i64 %49, 3
  %51 = tail call noundef ptr @_ZL14lodepng_mallocm(i64 noundef %50)
  %52 = getelementptr inbounds i8, ptr %5, i64 40
  store ptr %51, ptr %52, align 8, !tbaa !22
  %53 = tail call noundef ptr @_ZL14lodepng_mallocm(i64 noundef %50)
  %54 = getelementptr inbounds i8, ptr %5, i64 48
  store ptr %53, ptr %54, align 8, !tbaa !23
  %55 = insertelement <4 x ptr> poison, ptr %44, i64 0
  %56 = insertelement <4 x ptr> %55, ptr %47, i64 1
  %57 = insertelement <4 x ptr> %56, ptr %51, i64 2
  %58 = insertelement <4 x ptr> %57, ptr %53, i64 3
  %59 = icmp eq <4 x ptr> %58, zeroinitializer
  %60 = bitcast <4 x i1> %59 to i4
  %61 = icmp eq i4 %60, 0
  %spec.select = select i1 %61, i32 0, i32 83
  br i1 %61, label %.preheader92, label %.loopexit

.preheader92:                                     ; preds = %35
  %.not8297 = icmp eq i32 %39, 0
  br i1 %.not8297, label %._crit_edge100, label %.lr.ph99.preheader

.lr.ph99.preheader:                               ; preds = %.preheader92
  %min.iters.check = icmp ult i32 %39, 4
  br i1 %min.iters.check, label %.lr.ph99.preheader121, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph99.preheader
  %n.vec = and i64 %42, 4294967292
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <2 x i64> [ <i64 0, i64 1>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %step.add = add <2 x i64> %vec.ind, <i64 2, i64 2>
  %62 = getelementptr inbounds %struct.BPMNode, ptr %44, <2 x i64> %vec.ind
  %63 = getelementptr inbounds %struct.BPMNode, ptr %44, <2 x i64> %step.add
  %64 = getelementptr inbounds ptr, ptr %47, i64 %index
  %65 = getelementptr inbounds i8, ptr %64, i64 16
  store <2 x ptr> %62, ptr %64, align 8, !tbaa !24
  store <2 x ptr> %63, ptr %65, align 8, !tbaa !24
  %index.next = add nuw i64 %index, 4
  %vec.ind.next = add <2 x i64> %vec.ind, <i64 4, i64 4>
  %66 = icmp eq i64 %index.next, %n.vec
  br i1 %66, label %middle.block, label %vector.body, !llvm.loop !25

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %42
  br i1 %cmp.n, label %._crit_edge100, label %.lr.ph99.preheader121

.lr.ph99.preheader121:                            ; preds = %middle.block, %.lr.ph99.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph99.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph99

.lr.ph99:                                         ; preds = %.lr.ph99.preheader121, %.lr.ph99
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph99 ], [ %indvars.iv.ph, %.lr.ph99.preheader121 ]
  %67 = getelementptr inbounds %struct.BPMNode, ptr %44, i64 %indvars.iv
  %68 = getelementptr inbounds ptr, ptr %47, i64 %indvars.iv
  store ptr %67, ptr %68, align 8, !tbaa !24
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %.not82 = icmp eq i64 %indvars.iv.next, %42
  br i1 %.not82, label %._crit_edge100, label %.lr.ph99, !llvm.loop !28

._crit_edge100:                                   ; preds = %.lr.ph99, %middle.block, %.preheader92
  %69 = load i32, ptr %12, align 8, !tbaa !9
  %70 = call noundef ptr @_ZL14bpmnode_createP8BPMListsijP7BPMNode(ptr noundef nonnull %5, i32 noundef %69, i32 noundef 1, ptr noundef null)
  %71 = getelementptr inbounds i8, ptr %12, i64 24
  %72 = load i32, ptr %71, align 8, !tbaa !9
  %73 = call noundef ptr @_ZL14bpmnode_createP8BPMListsijP7BPMNode(ptr noundef nonnull %5, i32 noundef %72, i32 noundef 2, ptr noundef null)
  %74 = load i32, ptr %36, align 8, !tbaa !15
  %.not83101 = icmp eq i32 %74, 0
  br i1 %.not83101, label %.preheader91, label %.lr.ph104.preheader

.lr.ph104.preheader:                              ; preds = %._crit_edge100
  %75 = zext i32 %74 to i64
  %xtraiter = and i64 %75, 1
  %76 = icmp eq i32 %74, 1
  br i1 %76, label %.preheader91.loopexit.unr-lcssa, label %.lr.ph104.preheader.new

.lr.ph104.preheader.new:                          ; preds = %.lr.ph104.preheader
  %unroll_iter = and i64 %75, 4294967294
  br label %.lr.ph104

.preheader91.loopexit.unr-lcssa:                  ; preds = %.lr.ph104, %.lr.ph104.preheader
  %indvars.iv117.unr = phi i64 [ 0, %.lr.ph104.preheader ], [ %indvars.iv.next118.1, %.lr.ph104 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader91, label %.lr.ph104.epil

.lr.ph104.epil:                                   ; preds = %.preheader91.loopexit.unr-lcssa
  %77 = load ptr, ptr %45, align 8, !tbaa !20
  %78 = load ptr, ptr %52, align 8, !tbaa !22
  %79 = getelementptr inbounds ptr, ptr %78, i64 %indvars.iv117.unr
  store ptr %77, ptr %79, align 8, !tbaa !24
  %80 = getelementptr inbounds i8, ptr %77, i64 24
  %81 = load ptr, ptr %54, align 8, !tbaa !23
  %82 = getelementptr inbounds ptr, ptr %81, i64 %indvars.iv117.unr
  store ptr %80, ptr %82, align 8, !tbaa !24
  br label %.preheader91

.preheader91:                                     ; preds = %.lr.ph104.epil, %.preheader91.loopexit.unr-lcssa, %._crit_edge100
  %83 = shl i64 %.1, 1
  %84 = add i64 %83, -2
  %.not84105 = icmp eq i64 %84, 2
  %.pre = add i32 %3, -1
  br i1 %.not84105, label %._crit_edge108, label %.lr.ph107

.lr.ph104:                                        ; preds = %.lr.ph104, %.lr.ph104.preheader.new
  %indvars.iv117 = phi i64 [ 0, %.lr.ph104.preheader.new ], [ %indvars.iv.next118.1, %.lr.ph104 ]
  %niter = phi i64 [ 0, %.lr.ph104.preheader.new ], [ %niter.next.1, %.lr.ph104 ]
  %85 = load ptr, ptr %45, align 8, !tbaa !20
  %86 = load ptr, ptr %52, align 8, !tbaa !22
  %87 = getelementptr inbounds ptr, ptr %86, i64 %indvars.iv117
  store ptr %85, ptr %87, align 8, !tbaa !24
  %88 = getelementptr inbounds i8, ptr %85, i64 24
  %89 = load ptr, ptr %54, align 8, !tbaa !23
  %90 = getelementptr inbounds ptr, ptr %89, i64 %indvars.iv117
  store ptr %88, ptr %90, align 8, !tbaa !24
  %indvars.iv.next118 = or disjoint i64 %indvars.iv117, 1
  %91 = load ptr, ptr %45, align 8, !tbaa !20
  %92 = load ptr, ptr %52, align 8, !tbaa !22
  %93 = getelementptr inbounds ptr, ptr %92, i64 %indvars.iv.next118
  store ptr %91, ptr %93, align 8, !tbaa !24
  %94 = getelementptr inbounds i8, ptr %91, i64 24
  %95 = load ptr, ptr %54, align 8, !tbaa !23
  %96 = getelementptr inbounds ptr, ptr %95, i64 %indvars.iv.next118
  store ptr %94, ptr %96, align 8, !tbaa !24
  %indvars.iv.next118.1 = add nuw nsw i64 %indvars.iv117, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.preheader91.loopexit.unr-lcssa, label %.lr.ph104, !llvm.loop !29

.lr.ph107:                                        ; preds = %.preheader91, %.lr.ph107
  %.3106 = phi i32 [ %97, %.lr.ph107 ], [ 2, %.preheader91 ]
  call void @_ZL10boundaryPMP8BPMListsP7BPMNodemii(ptr noundef nonnull %5, ptr noundef nonnull %12, i64 noundef %.1, i32 noundef %.pre, i32 noundef %.3106)
  %97 = add i32 %.3106, 1
  %98 = zext i32 %97 to i64
  %.not84 = icmp eq i64 %84, %98
  br i1 %.not84, label %._crit_edge108, label %.lr.ph107, !llvm.loop !30

._crit_edge108:                                   ; preds = %.lr.ph107, %.preheader91
  %99 = load ptr, ptr %54, align 8, !tbaa !23
  %100 = zext i32 %.pre to i64
  %101 = getelementptr inbounds ptr, ptr %99, i64 %100
  %.0113 = load ptr, ptr %101, align 8, !tbaa !24
  %.not85114 = icmp eq ptr %.0113, null
  br i1 %.not85114, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %._crit_edge108, %._crit_edge112
  %.0115 = phi ptr [ %.0, %._crit_edge112 ], [ %.0113, %._crit_edge108 ]
  %102 = getelementptr inbounds i8, ptr %.0115, i64 4
  %103 = load i32, ptr %102, align 4, !tbaa !12
  %.not86109 = icmp eq i32 %103, 0
  br i1 %.not86109, label %._crit_edge112, label %.lr.ph111

.lr.ph111:                                        ; preds = %.preheader, %.lr.ph111
  %.4110 = phi i32 [ %111, %.lr.ph111 ], [ 0, %.preheader ]
  %104 = zext i32 %.4110 to i64
  %105 = getelementptr inbounds %struct.BPMNode, ptr %12, i64 %104, i32 1
  %106 = load i32, ptr %105, align 4, !tbaa !12
  %107 = zext i32 %106 to i64
  %108 = getelementptr inbounds i32, ptr %0, i64 %107
  %109 = load i32, ptr %108, align 4, !tbaa !5
  %110 = add i32 %109, 1
  store i32 %110, ptr %108, align 4, !tbaa !5
  %111 = add i32 %.4110, 1
  %112 = load i32, ptr %102, align 4, !tbaa !12
  %.not86 = icmp eq i32 %111, %112
  br i1 %.not86, label %._crit_edge112, label %.lr.ph111, !llvm.loop !31

._crit_edge112:                                   ; preds = %.lr.ph111, %.preheader
  %113 = getelementptr inbounds i8, ptr %.0115, i64 8
  %.0 = load ptr, ptr %113, align 8, !tbaa !24
  %.not85 = icmp eq ptr %.0, null
  br i1 %.not85, label %.loopexit, label %.preheader, !llvm.loop !32

.loopexit:                                        ; preds = %._crit_edge112, %._crit_edge108, %35
  %114 = load ptr, ptr %45, align 8, !tbaa !20
  call void @_ZL12lodepng_freePv(ptr noundef %114)
  %115 = load ptr, ptr %48, align 8, !tbaa !21
  call void @_ZL12lodepng_freePv(ptr noundef %115)
  %116 = load ptr, ptr %52, align 8, !tbaa !22
  call void @_ZL12lodepng_freePv(ptr noundef %116)
  %117 = load ptr, ptr %54, align 8, !tbaa !23
  call void @_ZL12lodepng_freePv(ptr noundef %117)
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #3
  br label %118

118:                                              ; preds = %26, %.loopexit, %24
  %.175 = phi i32 [ 0, %24 ], [ 0, %26 ], [ %spec.select, %.loopexit ]
  call void @_ZL12lodepng_freePv(ptr noundef nonnull %12)
  br label %119

119:                                              ; preds = %10, %4, %118
  %.070 = phi i32 [ %.175, %118 ], [ 80, %4 ], [ 83, %10 ]
  ret i32 %.070
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL14lodepng_memsetPvim(ptr noalias noundef, i32 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL12bpmnode_sortP7BPMNodem(ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL14bpmnode_createP8BPMListsijP7BPMNode(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL10boundaryPMP8BPMListsP7BPMNodemii(ptr noundef, ptr noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL12lodepng_freePv(ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTS7BPMNode", !6, i64 0, !6, i64 4, !11, i64 8, !6, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 4}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !6, i64 32}
!16 = !{!"_ZTS8BPMLists", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !11, i64 24, !6, i64 32, !11, i64 40, !11, i64 48}
!17 = !{!16, !6, i64 0}
!18 = !{!16, !6, i64 20}
!19 = !{!16, !6, i64 16}
!20 = !{!16, !11, i64 8}
!21 = !{!16, !11, i64 24}
!22 = !{!16, !11, i64 40}
!23 = !{!16, !11, i64 48}
!24 = !{!11, !11, i64 0}
!25 = distinct !{!25, !14, !26, !27}
!26 = !{!"llvm.loop.isvectorized", i32 1}
!27 = !{!"llvm.loop.unroll.runtime.disable"}
!28 = distinct !{!28, !14, !27, !26}
!29 = distinct !{!29, !14}
!30 = distinct !{!30, !14}
!31 = distinct !{!31, !14}
!32 = distinct !{!32, !14}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass