; LLVM IR from niessner/Matterport :: code/gaps/pkgs/png (pngrutil)

; 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.png_row_info_struct = type { i32, i64, i8, i8, i8, i8 }

@.str.131 = external hidden unnamed_addr constant [34 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

declare void @png_warning(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @png_read_filter_row(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  %40 = load i32, ptr %10, align 4, !tbaa !9
  switch i32 %40, label %308 [
    i32 0, label %311
    i32 1, label %41
    i32 2, label %80
    i32 3, label %109
    i32 4, label %177
  ]

41:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.png_row_info_struct, ptr %42, i32 0, i32 1
  %44 = load i64, ptr %43, align 8, !tbaa !11
  %45 = trunc i64 %44 to i32
  store i32 %45, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.png_row_info_struct, ptr %46, i32 0, i32 5
  %48 = load i8, ptr %47, align 1, !tbaa !14
  %49 = zext i8 %48 to i32
  %50 = add nsw i32 %49, 7
  %51 = ashr i32 %50, 3
  store i32 %51, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  %52 = load ptr, ptr %8, align 8, !tbaa !5
  %53 = load i32, ptr %13, align 4, !tbaa !9
  %54 = zext i32 %53 to i64
  %55 = getelementptr inbounds i8, ptr %52, i64 %54
  store ptr %55, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %56, ptr %15, align 8, !tbaa !5
  %57 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %57, ptr %11, align 4, !tbaa !9
  br label %58

58:                                               ; preds = %76, %41
  %59 = load i32, ptr %11, align 4, !tbaa !9
  %60 = load i32, ptr %12, align 4, !tbaa !9
  %61 = icmp ult i32 %59, %60
  br i1 %61, label %62, label %79

62:                                               ; preds = %58
  %63 = load ptr, ptr %14, align 8, !tbaa !5
  %64 = load i8, ptr %63, align 1, !tbaa !15
  %65 = zext i8 %64 to i32
  %66 = load ptr, ptr %15, align 8, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %66, i32 1
  store ptr %67, ptr %15, align 8, !tbaa !5
  %68 = load i8, ptr %66, align 1, !tbaa !15
  %69 = zext i8 %68 to i32
  %70 = add nsw i32 %65, %69
  %71 = and i32 %70, 255
  %72 = trunc i32 %71 to i8
  %73 = load ptr, ptr %14, align 8, !tbaa !5
  store i8 %72, ptr %73, align 1, !tbaa !15
  %74 = load ptr, ptr %14, align 8, !tbaa !5
  %75 = getelementptr inbounds i8, ptr %74, i32 1
  store ptr %75, ptr %14, align 8, !tbaa !5
  br label %76

76:                                               ; preds = %62
  %77 = load i32, ptr %11, align 4, !tbaa !9
  %78 = add i32 %77, 1
  store i32 %78, ptr %11, align 4, !tbaa !9
  br label %58, !llvm.loop !16

79:                                               ; preds = %58
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %311

80:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  %81 = load ptr, ptr %7, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.png_row_info_struct, ptr %81, i32 0, i32 1
  %83 = load i64, ptr %82, align 8, !tbaa !11
  %84 = trunc i64 %83 to i32
  store i32 %84, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %85, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  %86 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %86, ptr %19, align 8, !tbaa !5
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %87

87:                                               ; preds = %105, %80
  %88 = load i32, ptr %16, align 4, !tbaa !9
  %89 = load i32, ptr %17, align 4, !tbaa !9
  %90 = icmp ult i32 %88, %89
  br i1 %90, label %91, label %108

91:                                               ; preds = %87
  %92 = load ptr, ptr %18, align 8, !tbaa !5
  %93 = load i8, ptr %92, align 1, !tbaa !15
  %94 = zext i8 %93 to i32
  %95 = load ptr, ptr %19, align 8, !tbaa !5
  %96 = getelementptr inbounds i8, ptr %95, i32 1
  store ptr %96, ptr %19, align 8, !tbaa !5
  %97 = load i8, ptr %95, align 1, !tbaa !15
  %98 = zext i8 %97 to i32
  %99 = add nsw i32 %94, %98
  %100 = and i32 %99, 255
  %101 = trunc i32 %100 to i8
  %102 = load ptr, ptr %18, align 8, !tbaa !5
  store i8 %101, ptr %102, align 1, !tbaa !15
  %103 = load ptr, ptr %18, align 8, !tbaa !5
  %104 = getelementptr inbounds i8, ptr %103, i32 1
  store ptr %104, ptr %18, align 8, !tbaa !5
  br label %105

105:                                              ; preds = %91
  %106 = load i32, ptr %16, align 4, !tbaa !9
  %107 = add i32 %106, 1
  store i32 %107, ptr %16, align 4, !tbaa !9
  br label %87, !llvm.loop !18

108:                                              ; preds = %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  br label %311

109:                                              ; preds = %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %110, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %111, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  %112 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %112, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #3
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.png_row_info_struct, ptr %113, i32 0, i32 5
  %115 = load i8, ptr %114, align 1, !tbaa !14
  %116 = zext i8 %115 to i32
  %117 = add nsw i32 %116, 7
  %118 = ashr i32 %117, 3
  store i32 %118, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #3
  %119 = load ptr, ptr %7, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.png_row_info_struct, ptr %119, i32 0, i32 1
  %121 = load i64, ptr %120, align 8, !tbaa !11
  %122 = load i32, ptr %24, align 4, !tbaa !9
  %123 = zext i32 %122 to i64
  %124 = sub i64 %121, %123
  %125 = trunc i64 %124 to i32
  store i32 %125, ptr %25, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %126

126:                                              ; preds = %145, %109
  %127 = load i32, ptr %20, align 4, !tbaa !9
  %128 = load i32, ptr %24, align 4, !tbaa !9
  %129 = icmp ult i32 %127, %128
  br i1 %129, label %130, label %148

130:                                              ; preds = %126
  %131 = load ptr, ptr %21, align 8, !tbaa !5
  %132 = load i8, ptr %131, align 1, !tbaa !15
  %133 = zext i8 %132 to i32
  %134 = load ptr, ptr %22, align 8, !tbaa !5
  %135 = getelementptr inbounds i8, ptr %134, i32 1
  store ptr %135, ptr %22, align 8, !tbaa !5
  %136 = load i8, ptr %134, align 1, !tbaa !15
  %137 = zext i8 %136 to i32
  %138 = sdiv i32 %137, 2
  %139 = add nsw i32 %133, %138
  %140 = and i32 %139, 255
  %141 = trunc i32 %140 to i8
  %142 = load ptr, ptr %21, align 8, !tbaa !5
  store i8 %141, ptr %142, align 1, !tbaa !15
  %143 = load ptr, ptr %21, align 8, !tbaa !5
  %144 = getelementptr inbounds i8, ptr %143, i32 1
  store ptr %144, ptr %21, align 8, !tbaa !5
  br label %145

145:                                              ; preds = %130
  %146 = load i32, ptr %20, align 4, !tbaa !9
  %147 = add i32 %146, 1
  store i32 %147, ptr %20, align 4, !tbaa !9
  br label %126, !llvm.loop !19

148:                                              ; preds = %126
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %149

149:                                              ; preds = %173, %148
  %150 = load i32, ptr %20, align 4, !tbaa !9
  %151 = load i32, ptr %25, align 4, !tbaa !9
  %152 = icmp ult i32 %150, %151
  br i1 %152, label %153, label %176

153:                                              ; preds = %149
  %154 = load ptr, ptr %21, align 8, !tbaa !5
  %155 = load i8, ptr %154, align 1, !tbaa !15
  %156 = zext i8 %155 to i32
  %157 = load ptr, ptr %22, align 8, !tbaa !5
  %158 = getelementptr inbounds i8, ptr %157, i32 1
  store ptr %158, ptr %22, align 8, !tbaa !5
  %159 = load i8, ptr %157, align 1, !tbaa !15
  %160 = zext i8 %159 to i32
  %161 = load ptr, ptr %23, align 8, !tbaa !5
  %162 = getelementptr inbounds i8, ptr %161, i32 1
  store ptr %162, ptr %23, align 8, !tbaa !5
  %163 = load i8, ptr %161, align 1, !tbaa !15
  %164 = zext i8 %163 to i32
  %165 = add nsw i32 %160, %164
  %166 = sdiv i32 %165, 2
  %167 = add nsw i32 %156, %166
  %168 = and i32 %167, 255
  %169 = trunc i32 %168 to i8
  %170 = load ptr, ptr %21, align 8, !tbaa !5
  store i8 %169, ptr %170, align 1, !tbaa !15
  %171 = load ptr, ptr %21, align 8, !tbaa !5
  %172 = getelementptr inbounds i8, ptr %171, i32 1
  store ptr %172, ptr %21, align 8, !tbaa !5
  br label %173

173:                                              ; preds = %153
  %174 = load i32, ptr %20, align 4, !tbaa !9
  %175 = add i32 %174, 1
  store i32 %175, ptr %20, align 4, !tbaa !9
  br label %149, !llvm.loop !20

176:                                              ; preds = %149
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  br label %311

177:                                              ; preds = %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #3
  %178 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %178, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #3
  %179 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %179, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #3
  %180 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %180, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #3
  %181 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %181, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #3
  %182 = load ptr, ptr %7, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.png_row_info_struct, ptr %182, i32 0, i32 5
  %184 = load i8, ptr %183, align 1, !tbaa !14
  %185 = zext i8 %184 to i32
  %186 = add nsw i32 %185, 7
  %187 = ashr i32 %186, 3
  store i32 %187, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #3
  %188 = load ptr, ptr %7, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.png_row_info_struct, ptr %188, i32 0, i32 1
  %190 = load i64, ptr %189, align 8, !tbaa !11
  %191 = load i32, ptr %31, align 4, !tbaa !9
  %192 = zext i32 %191 to i64
  %193 = sub i64 %190, %192
  %194 = trunc i64 %193 to i32
  store i32 %194, ptr %32, align 4, !tbaa !9
  store i32 0, ptr %26, align 4, !tbaa !9
  br label %195

195:                                              ; preds = %213, %177
  %196 = load i32, ptr %26, align 4, !tbaa !9
  %197 = load i32, ptr %31, align 4, !tbaa !9
  %198 = icmp ult i32 %196, %197
  br i1 %198, label %199, label %216

199:                                              ; preds = %195
  %200 = load ptr, ptr %27, align 8, !tbaa !5
  %201 = load i8, ptr %200, align 1, !tbaa !15
  %202 = zext i8 %201 to i32
  %203 = load ptr, ptr %28, align 8, !tbaa !5
  %204 = getelementptr inbounds i8, ptr %203, i32 1
  store ptr %204, ptr %28, align 8, !tbaa !5
  %205 = load i8, ptr %203, align 1, !tbaa !15
  %206 = zext i8 %205 to i32
  %207 = add nsw i32 %202, %206
  %208 = and i32 %207, 255
  %209 = trunc i32 %208 to i8
  %210 = load ptr, ptr %27, align 8, !tbaa !5
  store i8 %209, ptr %210, align 1, !tbaa !15
  %211 = load ptr, ptr %27, align 8, !tbaa !5
  %212 = getelementptr inbounds i8, ptr %211, i32 1
  store ptr %212, ptr %27, align 8, !tbaa !5
  br label %213

213:                                              ; preds = %199
  %214 = load i32, ptr %26, align 4, !tbaa !9
  %215 = add i32 %214, 1
  store i32 %215, ptr %26, align 4, !tbaa !9
  br label %195, !llvm.loop !21

216:                                              ; preds = %195
  store i32 0, ptr %26, align 4, !tbaa !9
  br label %217

217:                                              ; preds = %304, %216
  %218 = load i32, ptr %26, align 4, !tbaa !9
  %219 = load i32, ptr %32, align 4, !tbaa !9
  %220 = icmp ult i32 %218, %219
  br i1 %220, label %221, label %307

221:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #3
  %222 = load ptr, ptr %29, align 8, !tbaa !5
  %223 = getelementptr inbounds i8, ptr %222, i32 1
  store ptr %223, ptr %29, align 8, !tbaa !5
  %224 = load i8, ptr %222, align 1, !tbaa !15
  %225 = zext i8 %224 to i32
  store i32 %225, ptr %33, align 4, !tbaa !9
  %226 = load ptr, ptr %28, align 8, !tbaa !5
  %227 = getelementptr inbounds i8, ptr %226, i32 1
  store ptr %227, ptr %28, align 8, !tbaa !5
  %228 = load i8, ptr %226, align 1, !tbaa !15
  %229 = zext i8 %228 to i32
  store i32 %229, ptr %34, align 4, !tbaa !9
  %230 = load ptr, ptr %30, align 8, !tbaa !5
  %231 = getelementptr inbounds i8, ptr %230, i32 1
  store ptr %231, ptr %30, align 8, !tbaa !5
  %232 = load i8, ptr %230, align 1, !tbaa !15
  %233 = zext i8 %232 to i32
  store i32 %233, ptr %35, align 4, !tbaa !9
  %234 = load i32, ptr %34, align 4, !tbaa !9
  %235 = load i32, ptr %35, align 4, !tbaa !9
  %236 = sub nsw i32 %234, %235
  store i32 %236, ptr %39, align 4, !tbaa !9
  %237 = load i32, ptr %33, align 4, !tbaa !9
  %238 = load i32, ptr %35, align 4, !tbaa !9
  %239 = sub nsw i32 %237, %238
  store i32 %239, ptr %38, align 4, !tbaa !9
  %240 = load i32, ptr %39, align 4, !tbaa !9
  %241 = icmp slt i32 %240, 0
  br i1 %241, label %242, label %245

242:                                              ; preds = %221
  %243 = load i32, ptr %39, align 4, !tbaa !9
  %244 = sub nsw i32 0, %243
  br label %247

245:                                              ; preds = %221
  %246 = load i32, ptr %39, align 4, !tbaa !9
  br label %247

247:                                              ; preds = %245, %242
  %248 = phi i32 [ %244, %242 ], [ %246, %245 ]
  store i32 %248, ptr %36, align 4, !tbaa !9
  %249 = load i32, ptr %38, align 4, !tbaa !9
  %250 = icmp slt i32 %249, 0
  br i1 %250, label %251, label %254

251:                                              ; preds = %247
  %252 = load i32, ptr %38, align 4, !tbaa !9
  %253 = sub nsw i32 0, %252
  br label %256

254:                                              ; preds = %247
  %255 = load i32, ptr %38, align 4, !tbaa !9
  br label %256

256:                                              ; preds = %254, %251
  %257 = phi i32 [ %253, %251 ], [ %255, %254 ]
  store i32 %257, ptr %37, align 4, !tbaa !9
  %258 = load i32, ptr %39, align 4, !tbaa !9
  %259 = load i32, ptr %38, align 4, !tbaa !9
  %260 = add nsw i32 %258, %259
  %261 = icmp slt i32 %260, 0
  br i1 %261, label %262, label %267

262:                                              ; preds = %256
  %263 = load i32, ptr %39, align 4, !tbaa !9
  %264 = load i32, ptr %38, align 4, !tbaa !9
  %265 = add nsw i32 %263, %264
  %266 = sub nsw i32 0, %265
  br label %271

267:                                              ; preds = %256
  %268 = load i32, ptr %39, align 4, !tbaa !9
  %269 = load i32, ptr %38, align 4, !tbaa !9
  %270 = add nsw i32 %268, %269
  br label %271

271:                                              ; preds = %267, %262
  %272 = phi i32 [ %266, %262 ], [ %270, %267 ]
  store i32 %272, ptr %38, align 4, !tbaa !9
  %273 = load i32, ptr %36, align 4, !tbaa !9
  %274 = load i32, ptr %37, align 4, !tbaa !9
  %275 = icmp sle i32 %273, %274
  br i1 %275, label %276, label %282

276:                                              ; preds = %271
  %277 = load i32, ptr %36, align 4, !tbaa !9
  %278 = load i32, ptr %38, align 4, !tbaa !9
  %279 = icmp sle i32 %277, %278
  br i1 %279, label %280, label %282

280:                                              ; preds = %276
  %281 = load i32, ptr %33, align 4, !tbaa !9
  br label %292

282:                                              ; preds = %276, %271
  %283 = load i32, ptr %37, align 4, !tbaa !9
  %284 = load i32, ptr %38, align 4, !tbaa !9
  %285 = icmp sle i32 %283, %284
  br i1 %285, label %286, label %288

286:                                              ; preds = %282
  %287 = load i32, ptr %34, align 4, !tbaa !9
  br label %290

288:                                              ; preds = %282
  %289 = load i32, ptr %35, align 4, !tbaa !9
  br label %290

290:                                              ; preds = %288, %286
  %291 = phi i32 [ %287, %286 ], [ %289, %288 ]
  br label %292

292:                                              ; preds = %290, %280
  %293 = phi i32 [ %281, %280 ], [ %291, %290 ]
  store i32 %293, ptr %39, align 4, !tbaa !9
  %294 = load ptr, ptr %27, align 8, !tbaa !5
  %295 = load i8, ptr %294, align 1, !tbaa !15
  %296 = zext i8 %295 to i32
  %297 = load i32, ptr %39, align 4, !tbaa !9
  %298 = add nsw i32 %296, %297
  %299 = and i32 %298, 255
  %300 = trunc i32 %299 to i8
  %301 = load ptr, ptr %27, align 8, !tbaa !5
  store i8 %300, ptr %301, align 1, !tbaa !15
  %302 = load ptr, ptr %27, align 8, !tbaa !5
  %303 = getelementptr inbounds i8, ptr %302, i32 1
  store ptr %303, ptr %27, align 8, !tbaa !5
  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 4, ptr %37) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #3
  br label %304

304:                                              ; preds = %292
  %305 = load i32, ptr %26, align 4, !tbaa !9
  %306 = add i32 %305, 1
  store i32 %306, ptr %26, align 4, !tbaa !9
  br label %217, !llvm.loop !22

307:                                              ; preds = %217
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #3
  br label %311

308:                                              ; preds = %5
  %309 = load ptr, ptr %6, align 8, !tbaa !5
  call void @png_warning(ptr noundef %309, ptr noundef @.str.131)
  %310 = load ptr, ptr %8, align 8, !tbaa !5
  store i8 0, ptr %310, align 1, !tbaa !15
  br label %311

311:                                              ; preds = %308, %307, %176, %108, %79, %5
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"png_row_info_struct", !10, i64 0, !13, i64 8, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !7, i64 19}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !17}
!22 = distinct !{!22, !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"

@.str.131 = external hidden unnamed_addr constant [34 x i8], align 1

declare void @png_warning(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @png_read_filter_row(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4) local_unnamed_addr #1 {
  switch i32 %4, label %321 [
    i32 0, label %.loopexit
    i32 1, label %6
    i32 2, label %60
    i32 3, label %100
    i32 4, label %217
  ]

6:                                                ; preds = %5
  %7 = getelementptr inbounds i8, ptr %1, i64 8
  %8 = load i64, ptr %7, align 8, !tbaa !5
  %9 = trunc i64 %8 to i32
  %10 = getelementptr inbounds i8, ptr %1, i64 19
  %11 = load i8, ptr %10, align 1, !tbaa !11
  %12 = zext i8 %11 to i32
  %13 = add nuw nsw i32 %12, 7
  %14 = lshr i32 %13, 3
  %15 = icmp ult i32 %14, %9
  br i1 %15, label %iter.check418, label %.loopexit

iter.check418:                                    ; preds = %6
  %16 = zext nneg i32 %14 to i64
  %17 = getelementptr i8, ptr %2, i64 %16
  %18 = xor i32 %14, -1
  %19 = add i32 %18, %9
  %20 = zext i32 %19 to i64
  %21 = add nuw nsw i64 %20, 1
  %min.iters.check416 = icmp ult i32 %19, 7
  br i1 %min.iters.check416, label %.lr.ph161.preheader, label %vector.memcheck408

vector.memcheck408:                               ; preds = %iter.check418
  %22 = xor i32 %14, -1
  %23 = add i32 %22, %9
  %24 = zext i32 %23 to i64
  %25 = getelementptr i8, ptr %2, i64 %16
  %26 = getelementptr i8, ptr %25, i64 %24
  %scevgep409 = getelementptr i8, ptr %26, i64 1
  %27 = getelementptr i8, ptr %2, i64 %24
  %scevgep410 = getelementptr i8, ptr %27, i64 1
  %bound0411 = icmp ult ptr %17, %scevgep410
  %bound1412 = icmp ugt ptr %scevgep409, %2
  %found.conflict413 = and i1 %bound0411, %bound1412
  br i1 %found.conflict413, label %.lr.ph161.preheader, label %vector.main.loop.iter.check420

vector.main.loop.iter.check420:                   ; preds = %vector.memcheck408
  %min.iters.check419 = icmp ult i32 %19, 31
  br i1 %min.iters.check419, label %vec.epilog.ph438, label %vector.ph421

vector.ph421:                                     ; preds = %vector.main.loop.iter.check420
  %n.vec423 = and i64 %21, 8589934560
  br label %vector.body424

vector.body424:                                   ; preds = %vector.body424, %vector.ph421
  %index425 = phi i64 [ 0, %vector.ph421 ], [ %index.next434, %vector.body424 ]
  %next.gep426 = getelementptr i8, ptr %17, i64 %index425
  %next.gep428 = getelementptr i8, ptr %2, i64 %index425
  %28 = getelementptr i8, ptr %next.gep426, i64 16
  %wide.load430 = load <16 x i8>, ptr %next.gep426, align 1, !tbaa !12, !alias.scope !13, !noalias !16
  %wide.load431 = load <16 x i8>, ptr %28, align 1, !tbaa !12, !alias.scope !13, !noalias !16
  %29 = getelementptr i8, ptr %next.gep428, i64 16
  %wide.load432 = load <16 x i8>, ptr %next.gep428, align 1, !tbaa !12, !alias.scope !16
  %wide.load433 = load <16 x i8>, ptr %29, align 1, !tbaa !12, !alias.scope !16
  %30 = add <16 x i8> %wide.load432, %wide.load430
  %31 = add <16 x i8> %wide.load433, %wide.load431
  store <16 x i8> %30, ptr %next.gep426, align 1, !tbaa !12, !alias.scope !13, !noalias !16
  store <16 x i8> %31, ptr %28, align 1, !tbaa !12, !alias.scope !13, !noalias !16
  %index.next434 = add nuw i64 %index425, 32
  %32 = icmp eq i64 %index.next434, %n.vec423
  br i1 %32, label %middle.block414, label %vector.body424, !llvm.loop !18

middle.block414:                                  ; preds = %vector.body424
  %cmp.n435 = icmp eq i64 %21, %n.vec423
  br i1 %cmp.n435, label %.loopexit, label %vec.epilog.iter.check439

vec.epilog.iter.check439:                         ; preds = %middle.block414
  %ind.end453 = getelementptr i8, ptr %2, i64 %n.vec423
  %ind.end450 = getelementptr i8, ptr %17, i64 %n.vec423
  %.cast446 = trunc i64 %n.vec423 to i32
  %ind.end447 = add i32 %14, %.cast446
  %n.vec.remaining440 = and i64 %21, 24
  %min.epilog.iters.check441 = icmp eq i64 %n.vec.remaining440, 0
  br i1 %min.epilog.iters.check441, label %.lr.ph161.preheader, label %vec.epilog.ph438

vec.epilog.ph438:                                 ; preds = %vector.main.loop.iter.check420, %vec.epilog.iter.check439
  %vec.epilog.resume.val442 = phi i64 [ %n.vec423, %vec.epilog.iter.check439 ], [ 0, %vector.main.loop.iter.check420 ]
  %n.vec444 = and i64 %21, 8589934584
  %.cast = trunc i64 %n.vec444 to i32
  %ind.end445 = add i32 %14, %.cast
  %ind.end449 = getelementptr i8, ptr %17, i64 %n.vec444
  %ind.end452 = getelementptr i8, ptr %2, i64 %n.vec444
  br label %vec.epilog.vector.body455

vec.epilog.vector.body455:                        ; preds = %vec.epilog.vector.body455, %vec.epilog.ph438
  %index456 = phi i64 [ %vec.epilog.resume.val442, %vec.epilog.ph438 ], [ %index.next461, %vec.epilog.vector.body455 ]
  %next.gep457 = getelementptr i8, ptr %17, i64 %index456
  %next.gep458 = getelementptr i8, ptr %2, i64 %index456
  %wide.load459 = load <8 x i8>, ptr %next.gep457, align 1, !tbaa !12, !alias.scope !22, !noalias !25
  %wide.load460 = load <8 x i8>, ptr %next.gep458, align 1, !tbaa !12, !alias.scope !25
  %33 = add <8 x i8> %wide.load460, %wide.load459
  store <8 x i8> %33, ptr %next.gep457, align 1, !tbaa !12, !alias.scope !22, !noalias !25
  %index.next461 = add nuw i64 %index456, 8
  %34 = icmp eq i64 %index.next461, %n.vec444
  br i1 %34, label %vec.epilog.middle.block436, label %vec.epilog.vector.body455, !llvm.loop !27

vec.epilog.middle.block436:                       ; preds = %vec.epilog.vector.body455
  %cmp.n462 = icmp eq i64 %21, %n.vec444
  br i1 %cmp.n462, label %.loopexit, label %.lr.ph161.preheader

.lr.ph161.preheader:                              ; preds = %vec.epilog.middle.block436, %vector.memcheck408, %iter.check418, %vec.epilog.iter.check439
  %.0160.ph = phi i32 [ %14, %iter.check418 ], [ %14, %vector.memcheck408 ], [ %ind.end447, %vec.epilog.iter.check439 ], [ %ind.end445, %vec.epilog.middle.block436 ]
  %.095159.ph = phi ptr [ %17, %iter.check418 ], [ %17, %vector.memcheck408 ], [ %ind.end450, %vec.epilog.iter.check439 ], [ %ind.end449, %vec.epilog.middle.block436 ]
  %.096158.ph = phi ptr [ %2, %iter.check418 ], [ %2, %vector.memcheck408 ], [ %ind.end453, %vec.epilog.iter.check439 ], [ %ind.end452, %vec.epilog.middle.block436 ]
  %35 = sub i32 %9, %.0160.ph
  %xtraiter480 = and i32 %35, 3
  %lcmp.mod481.not = icmp eq i32 %xtraiter480, 0
  br i1 %lcmp.mod481.not, label %.lr.ph161.prol.loopexit, label %.lr.ph161.prol

.lr.ph161.prol:                                   ; preds = %.lr.ph161.preheader, %.lr.ph161.prol
  %.0160.prol = phi i32 [ %40, %.lr.ph161.prol ], [ %.0160.ph, %.lr.ph161.preheader ]
  %.095159.prol = phi ptr [ %39, %.lr.ph161.prol ], [ %.095159.ph, %.lr.ph161.preheader ]
  %.096158.prol = phi ptr [ %37, %.lr.ph161.prol ], [ %.096158.ph, %.lr.ph161.preheader ]
  %prol.iter482 = phi i32 [ %prol.iter482.next, %.lr.ph161.prol ], [ 0, %.lr.ph161.preheader ]
  %36 = load i8, ptr %.095159.prol, align 1, !tbaa !12
  %37 = getelementptr inbounds i8, ptr %.096158.prol, i64 1
  %38 = load i8, ptr %.096158.prol, align 1, !tbaa !12
  %.narrow128.prol = add i8 %38, %36
  store i8 %.narrow128.prol, ptr %.095159.prol, align 1, !tbaa !12
  %39 = getelementptr inbounds i8, ptr %.095159.prol, i64 1
  %40 = add nuw i32 %.0160.prol, 1
  %prol.iter482.next = add i32 %prol.iter482, 1
  %prol.iter482.cmp.not = icmp eq i32 %prol.iter482.next, %xtraiter480
  br i1 %prol.iter482.cmp.not, label %.lr.ph161.prol.loopexit, label %.lr.ph161.prol, !llvm.loop !28

.lr.ph161.prol.loopexit:                          ; preds = %.lr.ph161.prol, %.lr.ph161.preheader
  %.0160.unr = phi i32 [ %.0160.ph, %.lr.ph161.preheader ], [ %40, %.lr.ph161.prol ]
  %.095159.unr = phi ptr [ %.095159.ph, %.lr.ph161.preheader ], [ %39, %.lr.ph161.prol ]
  %.096158.unr = phi ptr [ %.096158.ph, %.lr.ph161.preheader ], [ %37, %.lr.ph161.prol ]
  %41 = sub i32 %.0160.ph, %9
  %42 = icmp ugt i32 %41, -4
  br i1 %42, label %.loopexit, label %.lr.ph161

.lr.ph161:                                        ; preds = %.lr.ph161.prol.loopexit, %.lr.ph161
  %.0160 = phi i32 [ %59, %.lr.ph161 ], [ %.0160.unr, %.lr.ph161.prol.loopexit ]
  %.095159 = phi ptr [ %58, %.lr.ph161 ], [ %.095159.unr, %.lr.ph161.prol.loopexit ]
  %.096158 = phi ptr [ %56, %.lr.ph161 ], [ %.096158.unr, %.lr.ph161.prol.loopexit ]
  %43 = load i8, ptr %.095159, align 1, !tbaa !12
  %44 = getelementptr inbounds i8, ptr %.096158, i64 1
  %45 = load i8, ptr %.096158, align 1, !tbaa !12
  %.narrow128 = add i8 %45, %43
  store i8 %.narrow128, ptr %.095159, align 1, !tbaa !12
  %46 = getelementptr inbounds i8, ptr %.095159, i64 1
  %47 = load i8, ptr %46, align 1, !tbaa !12
  %48 = getelementptr inbounds i8, ptr %.096158, i64 2
  %49 = load i8, ptr %44, align 1, !tbaa !12
  %.narrow128.1 = add i8 %49, %47
  store i8 %.narrow128.1, ptr %46, align 1, !tbaa !12
  %50 = getelementptr inbounds i8, ptr %.095159, i64 2
  %51 = load i8, ptr %50, align 1, !tbaa !12
  %52 = getelementptr inbounds i8, ptr %.096158, i64 3
  %53 = load i8, ptr %48, align 1, !tbaa !12
  %.narrow128.2 = add i8 %53, %51
  store i8 %.narrow128.2, ptr %50, align 1, !tbaa !12
  %54 = getelementptr inbounds i8, ptr %.095159, i64 3
  %55 = load i8, ptr %54, align 1, !tbaa !12
  %56 = getelementptr inbounds i8, ptr %.096158, i64 4
  %57 = load i8, ptr %52, align 1, !tbaa !12
  %.narrow128.3 = add i8 %57, %55
  store i8 %.narrow128.3, ptr %54, align 1, !tbaa !12
  %58 = getelementptr inbounds i8, ptr %.095159, i64 4
  %59 = add nuw i32 %.0160, 4
  %exitcond177.not.3 = icmp eq i32 %59, %9
  br i1 %exitcond177.not.3, label %.loopexit, label %.lr.ph161, !llvm.loop !30

60:                                               ; preds = %5
  %61 = getelementptr inbounds i8, ptr %1, i64 8
  %62 = load i64, ptr %61, align 8, !tbaa !5
  %63 = trunc i64 %62 to i32
  %.not166 = icmp eq i32 %63, 0
  br i1 %.not166, label %.loopexit, label %iter.check364

iter.check364:                                    ; preds = %60
  %64 = and i64 %62, 4294967295
  %min.iters.check362 = icmp ult i64 %64, 8
  br i1 %min.iters.check362, label %.lr.ph157.preheader, label %vector.memcheck354

vector.memcheck354:                               ; preds = %iter.check364
  %65 = add i64 %62, 4294967295
  %66 = and i64 %65, 4294967295
  %67 = add nuw nsw i64 %66, 1
  %scevgep355 = getelementptr i8, ptr %2, i64 %67
  %scevgep356 = getelementptr i8, ptr %3, i64 %67
  %bound0357 = icmp ugt ptr %scevgep356, %2
  %bound1358 = icmp ugt ptr %scevgep355, %3
  %found.conflict359 = and i1 %bound0357, %bound1358
  br i1 %found.conflict359, label %.lr.ph157.preheader, label %vector.main.loop.iter.check366

vector.main.loop.iter.check366:                   ; preds = %vector.memcheck354
  %min.iters.check365 = icmp ult i64 %64, 32
  br i1 %min.iters.check365, label %vec.epilog.ph384, label %vector.ph367

vector.ph367:                                     ; preds = %vector.main.loop.iter.check366
  %n.mod.vf368 = and i64 %62, 31
  %n.vec369 = sub nsw i64 %64, %n.mod.vf368
  br label %vector.body370

vector.body370:                                   ; preds = %vector.body370, %vector.ph367
  %index371 = phi i64 [ 0, %vector.ph367 ], [ %index.next380, %vector.body370 ]
  %next.gep372 = getelementptr i8, ptr %2, i64 %index371
  %next.gep374 = getelementptr i8, ptr %3, i64 %index371
  %68 = getelementptr i8, ptr %next.gep372, i64 16
  %wide.load376 = load <16 x i8>, ptr %next.gep372, align 1, !tbaa !12, !alias.scope !31, !noalias !34
  %wide.load377 = load <16 x i8>, ptr %68, align 1, !tbaa !12, !alias.scope !31, !noalias !34
  %69 = getelementptr i8, ptr %next.gep374, i64 16
  %wide.load378 = load <16 x i8>, ptr %next.gep374, align 1, !tbaa !12, !alias.scope !34
  %wide.load379 = load <16 x i8>, ptr %69, align 1, !tbaa !12, !alias.scope !34
  %70 = add <16 x i8> %wide.load378, %wide.load376
  %71 = add <16 x i8> %wide.load379, %wide.load377
  store <16 x i8> %70, ptr %next.gep372, align 1, !tbaa !12, !alias.scope !31, !noalias !34
  store <16 x i8> %71, ptr %68, align 1, !tbaa !12, !alias.scope !31, !noalias !34
  %index.next380 = add nuw i64 %index371, 32
  %72 = icmp eq i64 %index.next380, %n.vec369
  br i1 %72, label %middle.block360, label %vector.body370, !llvm.loop !36

middle.block360:                                  ; preds = %vector.body370
  %cmp.n381 = icmp eq i64 %n.mod.vf368, 0
  br i1 %cmp.n381, label %.loopexit, label %vec.epilog.iter.check385

vec.epilog.iter.check385:                         ; preds = %middle.block360
  %ind.end398 = getelementptr i8, ptr %3, i64 %n.vec369
  %ind.end395 = getelementptr i8, ptr %2, i64 %n.vec369
  %ind.end392 = trunc i64 %n.vec369 to i32
  %min.epilog.iters.check387 = icmp ult i64 %n.mod.vf368, 8
  br i1 %min.epilog.iters.check387, label %.lr.ph157.preheader, label %vec.epilog.ph384

vec.epilog.ph384:                                 ; preds = %vector.main.loop.iter.check366, %vec.epilog.iter.check385
  %vec.epilog.resume.val388 = phi i64 [ %n.vec369, %vec.epilog.iter.check385 ], [ 0, %vector.main.loop.iter.check366 ]
  %n.mod.vf389 = and i64 %62, 7
  %n.vec390 = sub nsw i64 %64, %n.mod.vf389
  %ind.end391 = trunc i64 %n.vec390 to i32
  %ind.end394 = getelementptr i8, ptr %2, i64 %n.vec390
  %ind.end397 = getelementptr i8, ptr %3, i64 %n.vec390
  br label %vec.epilog.vector.body400

vec.epilog.vector.body400:                        ; preds = %vec.epilog.vector.body400, %vec.epilog.ph384
  %index401 = phi i64 [ %vec.epilog.resume.val388, %vec.epilog.ph384 ], [ %index.next406, %vec.epilog.vector.body400 ]
  %next.gep402 = getelementptr i8, ptr %2, i64 %index401
  %next.gep403 = getelementptr i8, ptr %3, i64 %index401
  %wide.load404 = load <8 x i8>, ptr %next.gep402, align 1, !tbaa !12, !alias.scope !37, !noalias !40
  %wide.load405 = load <8 x i8>, ptr %next.gep403, align 1, !tbaa !12, !alias.scope !40
  %73 = add <8 x i8> %wide.load405, %wide.load404
  store <8 x i8> %73, ptr %next.gep402, align 1, !tbaa !12, !alias.scope !37, !noalias !40
  %index.next406 = add nuw i64 %index401, 8
  %74 = icmp eq i64 %index.next406, %n.vec390
  br i1 %74, label %vec.epilog.middle.block382, label %vec.epilog.vector.body400, !llvm.loop !42

vec.epilog.middle.block382:                       ; preds = %vec.epilog.vector.body400
  %cmp.n407 = icmp eq i64 %n.mod.vf389, 0
  br i1 %cmp.n407, label %.loopexit, label %.lr.ph157.preheader

.lr.ph157.preheader:                              ; preds = %vec.epilog.middle.block382, %vector.memcheck354, %iter.check364, %vec.epilog.iter.check385
  %.097156.ph = phi i32 [ 0, %iter.check364 ], [ 0, %vector.memcheck354 ], [ %ind.end392, %vec.epilog.iter.check385 ], [ %ind.end391, %vec.epilog.middle.block382 ]
  %.098155.ph = phi ptr [ %2, %iter.check364 ], [ %2, %vector.memcheck354 ], [ %ind.end395, %vec.epilog.iter.check385 ], [ %ind.end394, %vec.epilog.middle.block382 ]
  %.099154.ph = phi ptr [ %3, %iter.check364 ], [ %3, %vector.memcheck354 ], [ %ind.end398, %vec.epilog.iter.check385 ], [ %ind.end397, %vec.epilog.middle.block382 ]
  %75 = sub i32 %63, %.097156.ph
  %xtraiter477 = and i32 %75, 3
  %lcmp.mod478.not = icmp eq i32 %xtraiter477, 0
  br i1 %lcmp.mod478.not, label %.lr.ph157.prol.loopexit, label %.lr.ph157.prol

.lr.ph157.prol:                                   ; preds = %.lr.ph157.preheader, %.lr.ph157.prol
  %.097156.prol = phi i32 [ %80, %.lr.ph157.prol ], [ %.097156.ph, %.lr.ph157.preheader ]
  %.098155.prol = phi ptr [ %79, %.lr.ph157.prol ], [ %.098155.ph, %.lr.ph157.preheader ]
  %.099154.prol = phi ptr [ %77, %.lr.ph157.prol ], [ %.099154.ph, %.lr.ph157.preheader ]
  %prol.iter479 = phi i32 [ %prol.iter479.next, %.lr.ph157.prol ], [ 0, %.lr.ph157.preheader ]
  %76 = load i8, ptr %.098155.prol, align 1, !tbaa !12
  %77 = getelementptr inbounds i8, ptr %.099154.prol, i64 1
  %78 = load i8, ptr %.099154.prol, align 1, !tbaa !12
  %.narrow126.prol = add i8 %78, %76
  store i8 %.narrow126.prol, ptr %.098155.prol, align 1, !tbaa !12
  %79 = getelementptr inbounds i8, ptr %.098155.prol, i64 1
  %80 = add nuw i32 %.097156.prol, 1
  %prol.iter479.next = add i32 %prol.iter479, 1
  %prol.iter479.cmp.not = icmp eq i32 %prol.iter479.next, %xtraiter477
  br i1 %prol.iter479.cmp.not, label %.lr.ph157.prol.loopexit, label %.lr.ph157.prol, !llvm.loop !43

.lr.ph157.prol.loopexit:                          ; preds = %.lr.ph157.prol, %.lr.ph157.preheader
  %.097156.unr = phi i32 [ %.097156.ph, %.lr.ph157.preheader ], [ %80, %.lr.ph157.prol ]
  %.098155.unr = phi ptr [ %.098155.ph, %.lr.ph157.preheader ], [ %79, %.lr.ph157.prol ]
  %.099154.unr = phi ptr [ %.099154.ph, %.lr.ph157.preheader ], [ %77, %.lr.ph157.prol ]
  %81 = sub i32 %.097156.ph, %63
  %82 = icmp ugt i32 %81, -4
  br i1 %82, label %.loopexit, label %.lr.ph157

.lr.ph157:                                        ; preds = %.lr.ph157.prol.loopexit, %.lr.ph157
  %.097156 = phi i32 [ %99, %.lr.ph157 ], [ %.097156.unr, %.lr.ph157.prol.loopexit ]
  %.098155 = phi ptr [ %98, %.lr.ph157 ], [ %.098155.unr, %.lr.ph157.prol.loopexit ]
  %.099154 = phi ptr [ %96, %.lr.ph157 ], [ %.099154.unr, %.lr.ph157.prol.loopexit ]
  %83 = load i8, ptr %.098155, align 1, !tbaa !12
  %84 = getelementptr inbounds i8, ptr %.099154, i64 1
  %85 = load i8, ptr %.099154, align 1, !tbaa !12
  %.narrow126 = add i8 %85, %83
  store i8 %.narrow126, ptr %.098155, align 1, !tbaa !12
  %86 = getelementptr inbounds i8, ptr %.098155, i64 1
  %87 = load i8, ptr %86, align 1, !tbaa !12
  %88 = getelementptr inbounds i8, ptr %.099154, i64 2
  %89 = load i8, ptr %84, align 1, !tbaa !12
  %.narrow126.1 = add i8 %89, %87
  store i8 %.narrow126.1, ptr %86, align 1, !tbaa !12
  %90 = getelementptr inbounds i8, ptr %.098155, i64 2
  %91 = load i8, ptr %90, align 1, !tbaa !12
  %92 = getelementptr inbounds i8, ptr %.099154, i64 3
  %93 = load i8, ptr %88, align 1, !tbaa !12
  %.narrow126.2 = add i8 %93, %91
  store i8 %.narrow126.2, ptr %90, align 1, !tbaa !12
  %94 = getelementptr inbounds i8, ptr %.098155, i64 3
  %95 = load i8, ptr %94, align 1, !tbaa !12
  %96 = getelementptr inbounds i8, ptr %.099154, i64 4
  %97 = load i8, ptr %92, align 1, !tbaa !12
  %.narrow126.3 = add i8 %97, %95
  store i8 %.narrow126.3, ptr %94, align 1, !tbaa !12
  %98 = getelementptr inbounds i8, ptr %.098155, i64 4
  %99 = add nuw i32 %.097156, 4
  %exitcond176.not.3 = icmp eq i32 %99, %63
  br i1 %exitcond176.not.3, label %.loopexit, label %.lr.ph157, !llvm.loop !44

100:                                              ; preds = %5
  %101 = getelementptr inbounds i8, ptr %1, i64 19
  %102 = load i8, ptr %101, align 1, !tbaa !11
  %103 = zext i8 %102 to i32
  %104 = add nuw nsw i32 %103, 7
  %105 = lshr i32 %104, 3
  %106 = getelementptr inbounds i8, ptr %1, i64 8
  %107 = load i64, ptr %106, align 8, !tbaa !5
  %108 = trunc i64 %107 to i32
  %109 = sub i32 %108, %105
  %.not164 = icmp eq i8 %102, 0
  br i1 %.not164, label %.preheader, label %.lr.ph146.preheader

.lr.ph146.preheader:                              ; preds = %100
  %110 = add nsw i32 %105, -1
  %111 = zext i32 %110 to i64
  %112 = add nuw nsw i64 %111, 1
  %min.iters.check268 = icmp ult i32 %110, 15
  br i1 %min.iters.check268, label %.lr.ph146.preheader465, label %vector.memcheck260

.lr.ph146.preheader465:                           ; preds = %middle.block266, %vector.memcheck260, %.lr.ph146.preheader
  %.0100145.ph = phi i32 [ 0, %vector.memcheck260 ], [ 0, %.lr.ph146.preheader ], [ %ind.end272, %middle.block266 ]
  %.0109144.ph = phi ptr [ %2, %vector.memcheck260 ], [ %2, %.lr.ph146.preheader ], [ %ind.end274, %middle.block266 ]
  %.0111143.ph = phi ptr [ %3, %vector.memcheck260 ], [ %3, %.lr.ph146.preheader ], [ %ind.end276, %middle.block266 ]
  %113 = sub i32 %105, %.0100145.ph
  %xtraiter471 = and i32 %113, 3
  %lcmp.mod472.not = icmp eq i32 %xtraiter471, 0
  br i1 %lcmp.mod472.not, label %.lr.ph146.prol.loopexit, label %.lr.ph146.prol

.lr.ph146.prol:                                   ; preds = %.lr.ph146.preheader465, %.lr.ph146.prol
  %.0100145.prol = phi i32 [ %119, %.lr.ph146.prol ], [ %.0100145.ph, %.lr.ph146.preheader465 ]
  %.0109144.prol = phi ptr [ %118, %.lr.ph146.prol ], [ %.0109144.ph, %.lr.ph146.preheader465 ]
  %.0111143.prol = phi ptr [ %115, %.lr.ph146.prol ], [ %.0111143.ph, %.lr.ph146.preheader465 ]
  %prol.iter473 = phi i32 [ %prol.iter473.next, %.lr.ph146.prol ], [ 0, %.lr.ph146.preheader465 ]
  %114 = load i8, ptr %.0109144.prol, align 1, !tbaa !12
  %115 = getelementptr inbounds i8, ptr %.0111143.prol, i64 1
  %116 = load i8, ptr %.0111143.prol, align 1, !tbaa !12
  %117 = lshr i8 %116, 1
  %.narrow124.prol = add i8 %117, %114
  store i8 %.narrow124.prol, ptr %.0109144.prol, align 1, !tbaa !12
  %118 = getelementptr inbounds i8, ptr %.0109144.prol, i64 1
  %119 = add nuw nsw i32 %.0100145.prol, 1
  %prol.iter473.next = add i32 %prol.iter473, 1
  %prol.iter473.cmp.not = icmp eq i32 %prol.iter473.next, %xtraiter471
  br i1 %prol.iter473.cmp.not, label %.lr.ph146.prol.loopexit, label %.lr.ph146.prol, !llvm.loop !45

.lr.ph146.prol.loopexit:                          ; preds = %.lr.ph146.prol, %.lr.ph146.preheader465
  %.lcssa466.unr = phi ptr [ poison, %.lr.ph146.preheader465 ], [ %115, %.lr.ph146.prol ]
  %.lcssa.unr = phi ptr [ poison, %.lr.ph146.preheader465 ], [ %118, %.lr.ph146.prol ]
  %.0100145.unr = phi i32 [ %.0100145.ph, %.lr.ph146.preheader465 ], [ %119, %.lr.ph146.prol ]
  %.0109144.unr = phi ptr [ %.0109144.ph, %.lr.ph146.preheader465 ], [ %118, %.lr.ph146.prol ]
  %.0111143.unr = phi ptr [ %.0111143.ph, %.lr.ph146.preheader465 ], [ %115, %.lr.ph146.prol ]
  %120 = sub i32 %.0100145.ph, %105
  %121 = icmp ugt i32 %120, -4
  br i1 %121, label %.preheader, label %.lr.ph146

vector.memcheck260:                               ; preds = %.lr.ph146.preheader
  %122 = add nsw i32 %105, -1
  %123 = zext i32 %122 to i64
  %124 = add nuw nsw i64 %123, 1
  %scevgep261 = getelementptr i8, ptr %2, i64 %124
  %scevgep262 = getelementptr i8, ptr %3, i64 %124
  %bound0263 = icmp ugt ptr %scevgep262, %2
  %bound1264 = icmp ugt ptr %scevgep261, %3
  %found.conflict265 = and i1 %bound0263, %bound1264
  br i1 %found.conflict265, label %.lr.ph146.preheader465, label %vector.ph269

vector.ph269:                                     ; preds = %vector.memcheck260
  %n.vec271 = and i64 %112, 8589934576
  %ind.end272 = trunc i64 %n.vec271 to i32
  %ind.end274 = getelementptr i8, ptr %2, i64 %n.vec271
  %ind.end276 = getelementptr i8, ptr %3, i64 %n.vec271
  br label %vector.body278

vector.body278:                                   ; preds = %vector.body278, %vector.ph269
  %index279 = phi i64 [ 0, %vector.ph269 ], [ %index.next284, %vector.body278 ]
  %next.gep280 = getelementptr i8, ptr %2, i64 %index279
  %next.gep281 = getelementptr i8, ptr %3, i64 %index279
  %wide.load282 = load <16 x i8>, ptr %next.gep280, align 1, !tbaa !12, !alias.scope !46, !noalias !49
  %wide.load283 = load <16 x i8>, ptr %next.gep281, align 1, !tbaa !12, !alias.scope !49
  %125 = lshr <16 x i8> %wide.load283, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  %126 = add <16 x i8> %125, %wide.load282
  store <16 x i8> %126, ptr %next.gep280, align 1, !tbaa !12, !alias.scope !46, !noalias !49
  %index.next284 = add nuw i64 %index279, 16
  %127 = icmp eq i64 %index.next284, %n.vec271
  br i1 %127, label %middle.block266, label %vector.body278, !llvm.loop !51

middle.block266:                                  ; preds = %vector.body278
  %cmp.n285 = icmp eq i64 %112, %n.vec271
  br i1 %cmp.n285, label %.preheader, label %.lr.ph146.preheader465

.preheader:                                       ; preds = %.lr.ph146.prol.loopexit, %.lr.ph146, %middle.block266, %100
  %.0111.lcssa = phi ptr [ %3, %100 ], [ %ind.end276, %middle.block266 ], [ %.lcssa466.unr, %.lr.ph146.prol.loopexit ], [ %191, %.lr.ph146 ]
  %.0109.lcssa = phi ptr [ %2, %100 ], [ %ind.end274, %middle.block266 ], [ %.lcssa.unr, %.lr.ph146.prol.loopexit ], [ %194, %.lr.ph146 ]
  %.not165 = icmp eq i32 %105, %108
  br i1 %.not165, label %.loopexit, label %iter.check301

iter.check301:                                    ; preds = %.preheader
  %128 = xor i32 %105, -1
  %129 = add i32 %128, %108
  %130 = zext i32 %129 to i64
  %131 = add nuw nsw i64 %130, 1
  %min.iters.check299 = icmp ult i32 %129, 7
  br i1 %min.iters.check299, label %.lr.ph153.preheader, label %vector.memcheck286

vector.memcheck286:                               ; preds = %iter.check301
  %132 = xor i32 %105, -1
  %133 = add i32 %132, %108
  %134 = zext i32 %133 to i64
  %135 = add nuw nsw i64 %134, 1
  %scevgep287 = getelementptr i8, ptr %.0109.lcssa, i64 %135
  %scevgep288 = getelementptr i8, ptr %.0111.lcssa, i64 %135
  %scevgep289 = getelementptr i8, ptr %2, i64 %135
  %bound0290 = icmp ult ptr %.0109.lcssa, %scevgep288
  %bound1291 = icmp ult ptr %.0111.lcssa, %scevgep287
  %found.conflict292 = and i1 %bound0290, %bound1291
  %bound0293 = icmp ult ptr %.0109.lcssa, %scevgep289
  %bound1294 = icmp ugt ptr %scevgep287, %2
  %found.conflict295 = and i1 %bound0293, %bound1294
  %conflict.rdx296 = or i1 %found.conflict292, %found.conflict295
  br i1 %conflict.rdx296, label %.lr.ph153.preheader, label %vector.main.loop.iter.check303

vector.main.loop.iter.check303:                   ; preds = %vector.memcheck286
  %min.iters.check302 = icmp ult i32 %129, 31
  br i1 %min.iters.check302, label %vec.epilog.ph325, label %vector.ph304

vector.ph304:                                     ; preds = %vector.main.loop.iter.check303
  %n.vec306 = and i64 %131, 8589934560
  br label %vector.body307

vector.body307:                                   ; preds = %vector.body307, %vector.ph304
  %index308 = phi i64 [ 0, %vector.ph304 ], [ %index.next321, %vector.body307 ]
  %next.gep309 = getelementptr i8, ptr %.0109.lcssa, i64 %index308
  %next.gep311 = getelementptr i8, ptr %.0111.lcssa, i64 %index308
  %next.gep313 = getelementptr i8, ptr %2, i64 %index308
  %136 = getelementptr i8, ptr %next.gep309, i64 16
  %wide.load315 = load <16 x i8>, ptr %next.gep309, align 1, !tbaa !12, !alias.scope !52, !noalias !55
  %wide.load316 = load <16 x i8>, ptr %136, align 1, !tbaa !12, !alias.scope !52, !noalias !55
  %137 = getelementptr i8, ptr %next.gep311, i64 16
  %wide.load317 = load <16 x i8>, ptr %next.gep311, align 1, !tbaa !12, !alias.scope !58
  %wide.load318 = load <16 x i8>, ptr %137, align 1, !tbaa !12, !alias.scope !58
  %138 = zext <16 x i8> %wide.load317 to <16 x i16>
  %139 = zext <16 x i8> %wide.load318 to <16 x i16>
  %140 = getelementptr i8, ptr %next.gep313, i64 16
  %wide.load319 = load <16 x i8>, ptr %next.gep313, align 1, !tbaa !12, !alias.scope !59
  %wide.load320 = load <16 x i8>, ptr %140, align 1, !tbaa !12, !alias.scope !59
  %141 = zext <16 x i8> %wide.load319 to <16 x i16>
  %142 = zext <16 x i8> %wide.load320 to <16 x i16>
  %143 = add nuw nsw <16 x i16> %141, %138
  %144 = add nuw nsw <16 x i16> %142, %139
  %145 = lshr <16 x i16> %143, <i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1>
  %146 = lshr <16 x i16> %144, <i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1>
  %147 = trunc nuw <16 x i16> %145 to <16 x i8>
  %148 = trunc nuw <16 x i16> %146 to <16 x i8>
  %149 = add <16 x i8> %wide.load315, %147
  %150 = add <16 x i8> %wide.load316, %148
  store <16 x i8> %149, ptr %next.gep309, align 1, !tbaa !12, !alias.scope !52, !noalias !55
  store <16 x i8> %150, ptr %136, align 1, !tbaa !12, !alias.scope !52, !noalias !55
  %index.next321 = add nuw i64 %index308, 32
  %151 = icmp eq i64 %index.next321, %n.vec306
  br i1 %151, label %middle.block297, label %vector.body307, !llvm.loop !60

middle.block297:                                  ; preds = %vector.body307
  %cmp.n322 = icmp eq i64 %131, %n.vec306
  br i1 %cmp.n322, label %.loopexit, label %vec.epilog.iter.check326

vec.epilog.iter.check326:                         ; preds = %middle.block297
  %ind.end342 = getelementptr i8, ptr %2, i64 %n.vec306
  %ind.end339 = getelementptr i8, ptr %.0111.lcssa, i64 %n.vec306
  %ind.end336 = getelementptr i8, ptr %.0109.lcssa, i64 %n.vec306
  %ind.end333 = trunc i64 %n.vec306 to i32
  %n.vec.remaining327 = and i64 %131, 24
  %min.epilog.iters.check328 = icmp eq i64 %n.vec.remaining327, 0
  br i1 %min.epilog.iters.check328, label %.lr.ph153.preheader, label %vec.epilog.ph325

.lr.ph153.preheader:                              ; preds = %vec.epilog.middle.block323, %vector.memcheck286, %iter.check301, %vec.epilog.iter.check326
  %.1152.ph = phi i32 [ 0, %iter.check301 ], [ 0, %vector.memcheck286 ], [ %ind.end333, %vec.epilog.iter.check326 ], [ %ind.end332, %vec.epilog.middle.block323 ]
  %.1110151.ph = phi ptr [ %.0109.lcssa, %iter.check301 ], [ %.0109.lcssa, %vector.memcheck286 ], [ %ind.end336, %vec.epilog.iter.check326 ], [ %ind.end335, %vec.epilog.middle.block323 ]
  %.1112150.ph = phi ptr [ %.0111.lcssa, %iter.check301 ], [ %.0111.lcssa, %vector.memcheck286 ], [ %ind.end339, %vec.epilog.iter.check326 ], [ %ind.end338, %vec.epilog.middle.block323 ]
  %.0113149.ph = phi ptr [ %2, %iter.check301 ], [ %2, %vector.memcheck286 ], [ %ind.end342, %vec.epilog.iter.check326 ], [ %ind.end341, %vec.epilog.middle.block323 ]
  %152 = add i32 %.1152.ph, %105
  %153 = sub i32 %108, %152
  %154 = xor i32 %.1152.ph, -1
  %155 = add i32 %154, %108
  %xtraiter474 = and i32 %153, 1
  %lcmp.mod475.not = icmp eq i32 %xtraiter474, 0
  br i1 %lcmp.mod475.not, label %.lr.ph153.prol.loopexit, label %.lr.ph153.prol

.lr.ph153.prol:                                   ; preds = %.lr.ph153.preheader
  %156 = load i8, ptr %.1110151.ph, align 1, !tbaa !12
  %157 = getelementptr inbounds i8, ptr %.1112150.ph, i64 1
  %158 = load i8, ptr %.1112150.ph, align 1, !tbaa !12
  %159 = zext i8 %158 to i16
  %160 = getelementptr inbounds i8, ptr %.0113149.ph, i64 1
  %161 = load i8, ptr %.0113149.ph, align 1, !tbaa !12
  %162 = zext i8 %161 to i16
  %163 = add nuw nsw i16 %162, %159
  %164 = lshr i16 %163, 1
  %.tr121.prol = trunc nuw i16 %164 to i8
  %.narrow122.prol = add i8 %156, %.tr121.prol
  store i8 %.narrow122.prol, ptr %.1110151.ph, align 1, !tbaa !12
  %165 = getelementptr inbounds i8, ptr %.1110151.ph, i64 1
  %166 = add nuw i32 %.1152.ph, 1
  br label %.lr.ph153.prol.loopexit

.lr.ph153.prol.loopexit:                          ; preds = %.lr.ph153.prol, %.lr.ph153.preheader
  %.1152.unr = phi i32 [ %.1152.ph, %.lr.ph153.preheader ], [ %166, %.lr.ph153.prol ]
  %.1110151.unr = phi ptr [ %.1110151.ph, %.lr.ph153.preheader ], [ %165, %.lr.ph153.prol ]
  %.1112150.unr = phi ptr [ %.1112150.ph, %.lr.ph153.preheader ], [ %157, %.lr.ph153.prol ]
  %.0113149.unr = phi ptr [ %.0113149.ph, %.lr.ph153.preheader ], [ %160, %.lr.ph153.prol ]
  %167 = icmp eq i32 %155, %105
  br i1 %167, label %.loopexit, label %.lr.ph153

vec.epilog.ph325:                                 ; preds = %vector.main.loop.iter.check303, %vec.epilog.iter.check326
  %vec.epilog.resume.val329 = phi i64 [ %n.vec306, %vec.epilog.iter.check326 ], [ 0, %vector.main.loop.iter.check303 ]
  %n.vec331 = and i64 %131, 8589934584
  %ind.end332 = trunc i64 %n.vec331 to i32
  %ind.end335 = getelementptr i8, ptr %.0109.lcssa, i64 %n.vec331
  %ind.end338 = getelementptr i8, ptr %.0111.lcssa, i64 %n.vec331
  %ind.end341 = getelementptr i8, ptr %2, i64 %n.vec331
  br label %vec.epilog.vector.body344

vec.epilog.vector.body344:                        ; preds = %vec.epilog.vector.body344, %vec.epilog.ph325
  %index345 = phi i64 [ %vec.epilog.resume.val329, %vec.epilog.ph325 ], [ %index.next352, %vec.epilog.vector.body344 ]
  %next.gep346 = getelementptr i8, ptr %.0109.lcssa, i64 %index345
  %next.gep347 = getelementptr i8, ptr %.0111.lcssa, i64 %index345
  %next.gep348 = getelementptr i8, ptr %2, i64 %index345
  %wide.load349 = load <8 x i8>, ptr %next.gep346, align 1, !tbaa !12, !alias.scope !61, !noalias !64
  %wide.load350 = load <8 x i8>, ptr %next.gep347, align 1, !tbaa !12, !alias.scope !67
  %168 = zext <8 x i8> %wide.load350 to <8 x i16>
  %wide.load351 = load <8 x i8>, ptr %next.gep348, align 1, !tbaa !12, !alias.scope !68
  %169 = zext <8 x i8> %wide.load351 to <8 x i16>
  %170 = add nuw nsw <8 x i16> %169, %168
  %171 = lshr <8 x i16> %170, <i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1>
  %172 = trunc nuw <8 x i16> %171 to <8 x i8>
  %173 = add <8 x i8> %wide.load349, %172
  store <8 x i8> %173, ptr %next.gep346, align 1, !tbaa !12, !alias.scope !61, !noalias !64
  %index.next352 = add nuw i64 %index345, 8
  %174 = icmp eq i64 %index.next352, %n.vec331
  br i1 %174, label %vec.epilog.middle.block323, label %vec.epilog.vector.body344, !llvm.loop !69

vec.epilog.middle.block323:                       ; preds = %vec.epilog.vector.body344
  %cmp.n353 = icmp eq i64 %131, %n.vec331
  br i1 %cmp.n353, label %.loopexit, label %.lr.ph153.preheader

.lr.ph146:                                        ; preds = %.lr.ph146.prol.loopexit, %.lr.ph146
  %.0100145 = phi i32 [ %195, %.lr.ph146 ], [ %.0100145.unr, %.lr.ph146.prol.loopexit ]
  %.0109144 = phi ptr [ %194, %.lr.ph146 ], [ %.0109144.unr, %.lr.ph146.prol.loopexit ]
  %.0111143 = phi ptr [ %191, %.lr.ph146 ], [ %.0111143.unr, %.lr.ph146.prol.loopexit ]
  %175 = load i8, ptr %.0109144, align 1, !tbaa !12
  %176 = getelementptr inbounds i8, ptr %.0111143, i64 1
  %177 = load i8, ptr %.0111143, align 1, !tbaa !12
  %178 = lshr i8 %177, 1
  %.narrow124 = add i8 %178, %175
  store i8 %.narrow124, ptr %.0109144, align 1, !tbaa !12
  %179 = getelementptr inbounds i8, ptr %.0109144, i64 1
  %180 = load i8, ptr %179, align 1, !tbaa !12
  %181 = getelementptr inbounds i8, ptr %.0111143, i64 2
  %182 = load i8, ptr %176, align 1, !tbaa !12
  %183 = lshr i8 %182, 1
  %.narrow124.1 = add i8 %183, %180
  store i8 %.narrow124.1, ptr %179, align 1, !tbaa !12
  %184 = getelementptr inbounds i8, ptr %.0109144, i64 2
  %185 = load i8, ptr %184, align 1, !tbaa !12
  %186 = getelementptr inbounds i8, ptr %.0111143, i64 3
  %187 = load i8, ptr %181, align 1, !tbaa !12
  %188 = lshr i8 %187, 1
  %.narrow124.2 = add i8 %188, %185
  store i8 %.narrow124.2, ptr %184, align 1, !tbaa !12
  %189 = getelementptr inbounds i8, ptr %.0109144, i64 3
  %190 = load i8, ptr %189, align 1, !tbaa !12
  %191 = getelementptr inbounds i8, ptr %.0111143, i64 4
  %192 = load i8, ptr %186, align 1, !tbaa !12
  %193 = lshr i8 %192, 1
  %.narrow124.3 = add i8 %193, %190
  store i8 %.narrow124.3, ptr %189, align 1, !tbaa !12
  %194 = getelementptr inbounds i8, ptr %.0109144, i64 4
  %195 = add nuw nsw i32 %.0100145, 4
  %exitcond174.not.3 = icmp eq i32 %195, %105
  br i1 %exitcond174.not.3, label %.preheader, label %.lr.ph146, !llvm.loop !70

.lr.ph153:                                        ; preds = %.lr.ph153.prol.loopexit, %.lr.ph153
  %.1152 = phi i32 [ %216, %.lr.ph153 ], [ %.1152.unr, %.lr.ph153.prol.loopexit ]
  %.1110151 = phi ptr [ %215, %.lr.ph153 ], [ %.1110151.unr, %.lr.ph153.prol.loopexit ]
  %.1112150 = phi ptr [ %207, %.lr.ph153 ], [ %.1112150.unr, %.lr.ph153.prol.loopexit ]
  %.0113149 = phi ptr [ %210, %.lr.ph153 ], [ %.0113149.unr, %.lr.ph153.prol.loopexit ]
  %196 = load i8, ptr %.1110151, align 1, !tbaa !12
  %197 = getelementptr inbounds i8, ptr %.1112150, i64 1
  %198 = load i8, ptr %.1112150, align 1, !tbaa !12
  %199 = zext i8 %198 to i16
  %200 = getelementptr inbounds i8, ptr %.0113149, i64 1
  %201 = load i8, ptr %.0113149, align 1, !tbaa !12
  %202 = zext i8 %201 to i16
  %203 = add nuw nsw i16 %202, %199
  %204 = lshr i16 %203, 1
  %.tr121 = trunc nuw i16 %204 to i8
  %.narrow122 = add i8 %196, %.tr121
  store i8 %.narrow122, ptr %.1110151, align 1, !tbaa !12
  %205 = getelementptr inbounds i8, ptr %.1110151, i64 1
  %206 = load i8, ptr %205, align 1, !tbaa !12
  %207 = getelementptr inbounds i8, ptr %.1112150, i64 2
  %208 = load i8, ptr %197, align 1, !tbaa !12
  %209 = zext i8 %208 to i16
  %210 = getelementptr inbounds i8, ptr %.0113149, i64 2
  %211 = load i8, ptr %200, align 1, !tbaa !12
  %212 = zext i8 %211 to i16
  %213 = add nuw nsw i16 %212, %209
  %214 = lshr i16 %213, 1
  %.tr121.1 = trunc nuw i16 %214 to i8
  %.narrow122.1 = add i8 %206, %.tr121.1
  store i8 %.narrow122.1, ptr %205, align 1, !tbaa !12
  %215 = getelementptr inbounds i8, ptr %.1110151, i64 2
  %216 = add nuw i32 %.1152, 2
  %exitcond175.not.1 = icmp eq i32 %216, %109
  br i1 %exitcond175.not.1, label %.loopexit, label %.lr.ph153, !llvm.loop !71

217:                                              ; preds = %5
  %218 = getelementptr inbounds i8, ptr %1, i64 19
  %219 = load i8, ptr %218, align 1, !tbaa !11
  %220 = zext i8 %219 to i32
  %221 = add nuw nsw i32 %220, 7
  %222 = lshr i32 %221, 3
  %223 = getelementptr inbounds i8, ptr %1, i64 8
  %224 = load i64, ptr %223, align 8, !tbaa !5
  %225 = trunc i64 %224 to i32
  %226 = sub i32 %225, %222
  %.not162 = icmp eq i8 %219, 0
  br i1 %.not162, label %.preheader131, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %217
  %227 = add nsw i32 %222, -1
  %228 = zext i32 %227 to i64
  %229 = add nuw nsw i64 %228, 1
  %min.iters.check = icmp ult i32 %227, 15
  br i1 %min.iters.check, label %.lr.ph.preheader468, label %vector.memcheck

.lr.ph.preheader468:                              ; preds = %middle.block, %vector.memcheck, %.lr.ph.preheader
  %.0103135.ph = phi ptr [ %3, %vector.memcheck ], [ %3, %.lr.ph.preheader ], [ %ind.end, %middle.block ]
  %.0105134.ph = phi ptr [ %2, %vector.memcheck ], [ %2, %.lr.ph.preheader ], [ %ind.end191, %middle.block ]
  %.0107133.ph = phi i32 [ 0, %vector.memcheck ], [ 0, %.lr.ph.preheader ], [ %ind.end193, %middle.block ]
  %230 = sub i32 %222, %.0107133.ph
  %xtraiter = and i32 %230, 3
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader468, %.lr.ph.prol
  %.0103135.prol = phi ptr [ %232, %.lr.ph.prol ], [ %.0103135.ph, %.lr.ph.preheader468 ]
  %.0105134.prol = phi ptr [ %234, %.lr.ph.prol ], [ %.0105134.ph, %.lr.ph.preheader468 ]
  %.0107133.prol = phi i32 [ %235, %.lr.ph.prol ], [ %.0107133.ph, %.lr.ph.preheader468 ]
  %prol.iter = phi i32 [ %prol.iter.next, %.lr.ph.prol ], [ 0, %.lr.ph.preheader468 ]
  %231 = load i8, ptr %.0105134.prol, align 1, !tbaa !12
  %232 = getelementptr inbounds i8, ptr %.0103135.prol, i64 1
  %233 = load i8, ptr %.0103135.prol, align 1, !tbaa !12
  %.narrow120.prol = add i8 %233, %231
  store i8 %.narrow120.prol, ptr %.0105134.prol, align 1, !tbaa !12
  %234 = getelementptr inbounds i8, ptr %.0105134.prol, i64 1
  %235 = add nuw nsw i32 %.0107133.prol, 1
  %prol.iter.next = add i32 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i32 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol, !llvm.loop !72

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader468
  %.lcssa470.unr = phi ptr [ poison, %.lr.ph.preheader468 ], [ %232, %.lr.ph.prol ]
  %.lcssa469.unr = phi ptr [ poison, %.lr.ph.preheader468 ], [ %234, %.lr.ph.prol ]
  %.0103135.unr = phi ptr [ %.0103135.ph, %.lr.ph.preheader468 ], [ %232, %.lr.ph.prol ]
  %.0105134.unr = phi ptr [ %.0105134.ph, %.lr.ph.preheader468 ], [ %234, %.lr.ph.prol ]
  %.0107133.unr = phi i32 [ %.0107133.ph, %.lr.ph.preheader468 ], [ %235, %.lr.ph.prol ]
  %236 = sub i32 %.0107133.ph, %222
  %237 = icmp ugt i32 %236, -4
  br i1 %237, label %.preheader131, label %.lr.ph

vector.memcheck:                                  ; preds = %.lr.ph.preheader
  %238 = add nsw i32 %222, -1
  %239 = zext i32 %238 to i64
  %240 = add nuw nsw i64 %239, 1
  %scevgep = getelementptr i8, ptr %2, i64 %240
  %scevgep190 = getelementptr i8, ptr %3, i64 %240
  %bound0 = icmp ugt ptr %scevgep190, %2
  %bound1 = icmp ugt ptr %scevgep, %3
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %.lr.ph.preheader468, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %229, 8589934576
  %ind.end = getelementptr i8, ptr %3, i64 %n.vec
  %ind.end191 = getelementptr i8, ptr %2, i64 %n.vec
  %ind.end193 = trunc i64 %n.vec to i32
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %next.gep = getelementptr i8, ptr %3, i64 %index
  %next.gep195 = getelementptr i8, ptr %2, i64 %index
  %wide.load = load <16 x i8>, ptr %next.gep195, align 1, !tbaa !12, !alias.scope !73, !noalias !76
  %wide.load196 = load <16 x i8>, ptr %next.gep, align 1, !tbaa !12, !alias.scope !76
  %241 = add <16 x i8> %wide.load196, %wide.load
  store <16 x i8> %241, ptr %next.gep195, align 1, !tbaa !12, !alias.scope !73, !noalias !76
  %index.next = add nuw i64 %index, 16
  %242 = icmp eq i64 %index.next, %n.vec
  br i1 %242, label %middle.block, label %vector.body, !llvm.loop !78

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %229, %n.vec
  br i1 %cmp.n, label %.preheader131, label %.lr.ph.preheader468

.preheader131:                                    ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %middle.block, %217
  %.0105.lcssa = phi ptr [ %2, %217 ], [ %ind.end191, %middle.block ], [ %.lcssa469.unr, %.lr.ph.prol.loopexit ], [ %300, %.lr.ph ]
  %.0103.lcssa = phi ptr [ %3, %217 ], [ %ind.end, %middle.block ], [ %.lcssa470.unr, %.lr.ph.prol.loopexit ], [ %298, %.lr.ph ]
  %.not163 = icmp eq i32 %222, %225
  br i1 %.not163, label %.loopexit, label %iter.check

iter.check:                                       ; preds = %.preheader131
  %243 = xor i32 %222, -1
  %244 = add i32 %243, %225
  %245 = zext i32 %244 to i64
  %246 = add nuw nsw i64 %245, 1
  %min.iters.check214 = icmp ult i32 %244, 7
  br i1 %min.iters.check214, label %.lr.ph142.preheader, label %vector.memcheck197

vector.memcheck197:                               ; preds = %iter.check
  %247 = xor i32 %222, -1
  %248 = add i32 %247, %225
  %249 = zext i32 %248 to i64
  %250 = add nuw nsw i64 %249, 1
  %scevgep198 = getelementptr i8, ptr %.0105.lcssa, i64 %250
  %scevgep199 = getelementptr i8, ptr %2, i64 %250
  %scevgep200 = getelementptr i8, ptr %.0103.lcssa, i64 %250
  %scevgep201 = getelementptr i8, ptr %3, i64 %250
  %bound0202 = icmp ult ptr %.0105.lcssa, %scevgep199
  %bound1203 = icmp ugt ptr %scevgep198, %2
  %found.conflict204 = and i1 %bound0202, %bound1203
  %bound0205 = icmp ult ptr %.0105.lcssa, %scevgep200
  %bound1206 = icmp ult ptr %.0103.lcssa, %scevgep198
  %found.conflict207 = and i1 %bound0205, %bound1206
  %conflict.rdx = or i1 %found.conflict204, %found.conflict207
  %bound0208 = icmp ult ptr %.0105.lcssa, %scevgep201
  %bound1209 = icmp ugt ptr %scevgep198, %3
  %found.conflict210 = and i1 %bound0208, %bound1209
  %conflict.rdx211 = or i1 %conflict.rdx, %found.conflict210
  br i1 %conflict.rdx211, label %.lr.ph142.preheader, label %vector.main.loop.iter.check

vector.main.loop.iter.check:                      ; preds = %vector.memcheck197
  %min.iters.check216 = icmp ult i32 %244, 15
  br i1 %min.iters.check216, label %vec.epilog.ph, label %vector.ph217

vector.ph217:                                     ; preds = %vector.main.loop.iter.check
  %n.vec219 = and i64 %246, 8589934576
  br label %vector.body220

vector.body220:                                   ; preds = %vector.body220, %vector.ph217
  %index221 = phi i64 [ 0, %vector.ph217 ], [ %index.next230, %vector.body220 ]
  %next.gep222 = getelementptr i8, ptr %3, i64 %index221
  %next.gep223 = getelementptr i8, ptr %2, i64 %index221
  %next.gep224 = getelementptr i8, ptr %.0103.lcssa, i64 %index221
  %next.gep225 = getelementptr i8, ptr %.0105.lcssa, i64 %index221
  %wide.load226 = load <16 x i8>, ptr %next.gep223, align 1, !tbaa !12, !alias.scope !79
  %251 = zext <16 x i8> %wide.load226 to <16 x i32>
  %wide.load227 = load <16 x i8>, ptr %next.gep224, align 1, !tbaa !12, !alias.scope !82
  %252 = zext <16 x i8> %wide.load227 to <16 x i32>
  %wide.load228 = load <16 x i8>, ptr %next.gep222, align 1, !tbaa !12, !alias.scope !84
  %253 = zext <16 x i8> %wide.load228 to <16 x i32>
  %254 = sub nsw <16 x i32> %252, %253
  %255 = sub nsw <16 x i32> %251, %253
  %256 = tail call <16 x i32> @llvm.abs.v16i32(<16 x i32> %254, i1 true)
  %257 = tail call <16 x i32> @llvm.abs.v16i32(<16 x i32> %255, i1 true)
  %258 = add nsw <16 x i32> %254, %255
  %259 = tail call <16 x i32> @llvm.abs.v16i32(<16 x i32> %258, i1 true)
  %260 = icmp ugt <16 x i32> %256, %257
  %261 = icmp ugt <16 x i32> %256, %259
  %262 = select <16 x i1> %260, <16 x i1> <i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true>, <16 x i1> %261
  %263 = icmp ugt <16 x i32> %257, %259
  %264 = select <16 x i1> %263, <16 x i8> %wide.load228, <16 x i8> %wide.load227
  %265 = select <16 x i1> %262, <16 x i8> %264, <16 x i8> %wide.load226
  %wide.load229 = load <16 x i8>, ptr %next.gep225, align 1, !tbaa !12, !alias.scope !86, !noalias !88
  %266 = add <16 x i8> %265, %wide.load229
  store <16 x i8> %266, ptr %next.gep225, align 1, !tbaa !12, !alias.scope !86, !noalias !88
  %index.next230 = add nuw i64 %index221, 16
  %267 = icmp eq i64 %index.next230, %n.vec219
  br i1 %267, label %middle.block212, label %vector.body220, !llvm.loop !89

middle.block212:                                  ; preds = %vector.body220
  %cmp.n231 = icmp eq i64 %246, %n.vec219
  br i1 %cmp.n231, label %.loopexit, label %vec.epilog.iter.check

vec.epilog.iter.check:                            ; preds = %middle.block212
  %ind.end247 = trunc i64 %n.vec219 to i32
  %ind.end244 = getelementptr i8, ptr %.0105.lcssa, i64 %n.vec219
  %ind.end241 = getelementptr i8, ptr %.0103.lcssa, i64 %n.vec219
  %ind.end238 = getelementptr i8, ptr %2, i64 %n.vec219
  %ind.end235 = getelementptr i8, ptr %3, i64 %n.vec219
  %n.vec.remaining = and i64 %246, 8
  %min.epilog.iters.check.not.not = icmp eq i64 %n.vec.remaining, 0
  br i1 %min.epilog.iters.check.not.not, label %.lr.ph142.preheader, label %vec.epilog.ph

.lr.ph142.preheader:                              ; preds = %vec.epilog.middle.block, %vector.memcheck197, %iter.check, %vec.epilog.iter.check
  %.0101141.ph = phi ptr [ %3, %iter.check ], [ %3, %vector.memcheck197 ], [ %ind.end235, %vec.epilog.iter.check ], [ %ind.end234, %vec.epilog.middle.block ]
  %.0102140.ph = phi ptr [ %2, %iter.check ], [ %2, %vector.memcheck197 ], [ %ind.end238, %vec.epilog.iter.check ], [ %ind.end237, %vec.epilog.middle.block ]
  %.1104139.ph = phi ptr [ %.0103.lcssa, %iter.check ], [ %.0103.lcssa, %vector.memcheck197 ], [ %ind.end241, %vec.epilog.iter.check ], [ %ind.end240, %vec.epilog.middle.block ]
  %.1106138.ph = phi ptr [ %.0105.lcssa, %iter.check ], [ %.0105.lcssa, %vector.memcheck197 ], [ %ind.end244, %vec.epilog.iter.check ], [ %ind.end243, %vec.epilog.middle.block ]
  %.1108137.ph = phi i32 [ 0, %iter.check ], [ 0, %vector.memcheck197 ], [ %ind.end247, %vec.epilog.iter.check ], [ %ind.end246, %vec.epilog.middle.block ]
  br label %.lr.ph142

vec.epilog.ph:                                    ; preds = %vector.main.loop.iter.check, %vec.epilog.iter.check
  %vec.epilog.resume.val = phi i64 [ %n.vec219, %vec.epilog.iter.check ], [ 0, %vector.main.loop.iter.check ]
  %n.vec233 = and i64 %246, 8589934584
  %ind.end234 = getelementptr i8, ptr %3, i64 %n.vec233
  %ind.end237 = getelementptr i8, ptr %2, i64 %n.vec233
  %ind.end240 = getelementptr i8, ptr %.0103.lcssa, i64 %n.vec233
  %ind.end243 = getelementptr i8, ptr %.0105.lcssa, i64 %n.vec233
  %ind.end246 = trunc i64 %n.vec233 to i32
  br label %vec.epilog.vector.body

vec.epilog.vector.body:                           ; preds = %vec.epilog.vector.body, %vec.epilog.ph
  %index249 = phi i64 [ %vec.epilog.resume.val, %vec.epilog.ph ], [ %index.next258, %vec.epilog.vector.body ]
  %next.gep250 = getelementptr i8, ptr %3, i64 %index249
  %next.gep251 = getelementptr i8, ptr %2, i64 %index249
  %next.gep252 = getelementptr i8, ptr %.0103.lcssa, i64 %index249
  %next.gep253 = getelementptr i8, ptr %.0105.lcssa, i64 %index249
  %wide.load254 = load <8 x i8>, ptr %next.gep251, align 1, !tbaa !12, !alias.scope !90
  %268 = zext <8 x i8> %wide.load254 to <8 x i32>
  %wide.load255 = load <8 x i8>, ptr %next.gep252, align 1, !tbaa !12, !alias.scope !93
  %269 = zext <8 x i8> %wide.load255 to <8 x i32>
  %wide.load256 = load <8 x i8>, ptr %next.gep250, align 1, !tbaa !12, !alias.scope !95
  %270 = zext <8 x i8> %wide.load256 to <8 x i32>
  %271 = sub nsw <8 x i32> %269, %270
  %272 = sub nsw <8 x i32> %268, %270
  %273 = tail call <8 x i32> @llvm.abs.v8i32(<8 x i32> %271, i1 true)
  %274 = tail call <8 x i32> @llvm.abs.v8i32(<8 x i32> %272, i1 true)
  %275 = add nsw <8 x i32> %271, %272
  %276 = tail call <8 x i32> @llvm.abs.v8i32(<8 x i32> %275, i1 true)
  %277 = icmp ugt <8 x i32> %273, %274
  %278 = icmp ugt <8 x i32> %273, %276
  %279 = select <8 x i1> %277, <8 x i1> <i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true>, <8 x i1> %278
  %280 = icmp ugt <8 x i32> %274, %276
  %281 = select <8 x i1> %280, <8 x i8> %wide.load256, <8 x i8> %wide.load255
  %282 = select <8 x i1> %279, <8 x i8> %281, <8 x i8> %wide.load254
  %wide.load257 = load <8 x i8>, ptr %next.gep253, align 1, !tbaa !12, !alias.scope !97, !noalias !99
  %283 = add <8 x i8> %282, %wide.load257
  store <8 x i8> %283, ptr %next.gep253, align 1, !tbaa !12, !alias.scope !97, !noalias !99
  %index.next258 = add nuw i64 %index249, 8
  %284 = icmp eq i64 %index.next258, %n.vec233
  br i1 %284, label %vec.epilog.middle.block, label %vec.epilog.vector.body, !llvm.loop !100

vec.epilog.middle.block:                          ; preds = %vec.epilog.vector.body
  %cmp.n259 = icmp eq i64 %246, %n.vec233
  br i1 %cmp.n259, label %.loopexit, label %.lr.ph142.preheader

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %.0103135 = phi ptr [ %298, %.lr.ph ], [ %.0103135.unr, %.lr.ph.prol.loopexit ]
  %.0105134 = phi ptr [ %300, %.lr.ph ], [ %.0105134.unr, %.lr.ph.prol.loopexit ]
  %.0107133 = phi i32 [ %301, %.lr.ph ], [ %.0107133.unr, %.lr.ph.prol.loopexit ]
  %285 = load i8, ptr %.0105134, align 1, !tbaa !12
  %286 = getelementptr inbounds i8, ptr %.0103135, i64 1
  %287 = load i8, ptr %.0103135, align 1, !tbaa !12
  %.narrow120 = add i8 %287, %285
  store i8 %.narrow120, ptr %.0105134, align 1, !tbaa !12
  %288 = getelementptr inbounds i8, ptr %.0105134, i64 1
  %289 = load i8, ptr %288, align 1, !tbaa !12
  %290 = getelementptr inbounds i8, ptr %.0103135, i64 2
  %291 = load i8, ptr %286, align 1, !tbaa !12
  %.narrow120.1 = add i8 %291, %289
  store i8 %.narrow120.1, ptr %288, align 1, !tbaa !12
  %292 = getelementptr inbounds i8, ptr %.0105134, i64 2
  %293 = load i8, ptr %292, align 1, !tbaa !12
  %294 = getelementptr inbounds i8, ptr %.0103135, i64 3
  %295 = load i8, ptr %290, align 1, !tbaa !12
  %.narrow120.2 = add i8 %295, %293
  store i8 %.narrow120.2, ptr %292, align 1, !tbaa !12
  %296 = getelementptr inbounds i8, ptr %.0105134, i64 3
  %297 = load i8, ptr %296, align 1, !tbaa !12
  %298 = getelementptr inbounds i8, ptr %.0103135, i64 4
  %299 = load i8, ptr %294, align 1, !tbaa !12
  %.narrow120.3 = add i8 %299, %297
  store i8 %.narrow120.3, ptr %296, align 1, !tbaa !12
  %300 = getelementptr inbounds i8, ptr %.0105134, i64 4
  %301 = add nuw nsw i32 %.0107133, 4
  %exitcond.not.3 = icmp eq i32 %301, %222
  br i1 %exitcond.not.3, label %.preheader131, label %.lr.ph, !llvm.loop !101

.lr.ph142:                                        ; preds = %.lr.ph142.preheader, %.lr.ph142
  %.0101141 = phi ptr [ %308, %.lr.ph142 ], [ %.0101141.ph, %.lr.ph142.preheader ]
  %.0102140 = phi ptr [ %302, %.lr.ph142 ], [ %.0102140.ph, %.lr.ph142.preheader ]
  %.1104139 = phi ptr [ %305, %.lr.ph142 ], [ %.1104139.ph, %.lr.ph142.preheader ]
  %.1106138 = phi ptr [ %319, %.lr.ph142 ], [ %.1106138.ph, %.lr.ph142.preheader ]
  %.1108137 = phi i32 [ %320, %.lr.ph142 ], [ %.1108137.ph, %.lr.ph142.preheader ]
  %302 = getelementptr inbounds i8, ptr %.0102140, i64 1
  %303 = load i8, ptr %.0102140, align 1, !tbaa !12
  %304 = zext i8 %303 to i32
  %305 = getelementptr inbounds i8, ptr %.1104139, i64 1
  %306 = load i8, ptr %.1104139, align 1, !tbaa !12
  %307 = zext i8 %306 to i32
  %308 = getelementptr inbounds i8, ptr %.0101141, i64 1
  %309 = load i8, ptr %.0101141, align 1, !tbaa !12
  %310 = zext i8 %309 to i32
  %311 = sub nsw i32 %307, %310
  %312 = sub nsw i32 %304, %310
  %313 = tail call i32 @llvm.abs.i32(i32 %311, i1 true)
  %314 = tail call i32 @llvm.abs.i32(i32 %312, i1 true)
  %315 = add nsw i32 %311, %312
  %316 = tail call i32 @llvm.abs.i32(i32 %315, i1 true)
  %.not = icmp ugt i32 %313, %314
  %.not117 = icmp ugt i32 %313, %316
  %or.cond = select i1 %.not, i1 true, i1 %.not117
  %.not118 = icmp ugt i32 %314, %316
  %317 = select i1 %.not118, i8 %309, i8 %306
  %.tr = select i1 %or.cond, i8 %317, i8 %303
  %318 = load i8, ptr %.1106138, align 1, !tbaa !12
  %.narrow = add i8 %.tr, %318
  store i8 %.narrow, ptr %.1106138, align 1, !tbaa !12
  %319 = getelementptr inbounds i8, ptr %.1106138, i64 1
  %320 = add nuw i32 %.1108137, 1
  %exitcond173.not = icmp eq i32 %320, %226
  br i1 %exitcond173.not, label %.loopexit, label %.lr.ph142, !llvm.loop !102

321:                                              ; preds = %5
  tail call void @png_warning(ptr noundef %0, ptr noundef nonnull @.str.131) #3
  store i8 0, ptr %2, align 1, !tbaa !12
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph142, %.lr.ph153.prol.loopexit, %.lr.ph153, %.lr.ph157.prol.loopexit, %.lr.ph157, %.lr.ph161.prol.loopexit, %.lr.ph161, %middle.block212, %vec.epilog.middle.block, %middle.block297, %vec.epilog.middle.block323, %middle.block360, %vec.epilog.middle.block382, %middle.block414, %vec.epilog.middle.block436, %.preheader131, %.preheader, %60, %6, %321, %5
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <16 x i32> @llvm.abs.v16i32(<16 x i32>, i1 immarg) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <8 x i32> @llvm.abs.v8i32(<8 x i32>, i1 immarg) #2

attributes #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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !10, i64 8}
!6 = !{!"png_row_info_struct", !7, i64 0, !10, i64 8, !8, i64 16, !8, i64 17, !8, i64 18, !8, i64 19}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !8, i64 19}
!12 = !{!8, !8, i64 0}
!13 = !{!14}
!14 = distinct !{!14, !15}
!15 = distinct !{!15, !"LVerDomain"}
!16 = !{!17}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !19, !20, !21}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!"llvm.loop.isvectorized", i32 1}
!21 = !{!"llvm.loop.unroll.runtime.disable"}
!22 = !{!23}
!23 = distinct !{!23, !24}
!24 = distinct !{!24, !"LVerDomain"}
!25 = !{!26}
!26 = distinct !{!26, !24}
!27 = distinct !{!27, !19, !20, !21}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.unroll.disable"}
!30 = distinct !{!30, !19, !20}
!31 = !{!32}
!32 = distinct !{!32, !33}
!33 = distinct !{!33, !"LVerDomain"}
!34 = !{!35}
!35 = distinct !{!35, !33}
!36 = distinct !{!36, !19, !20, !21}
!37 = !{!38}
!38 = distinct !{!38, !39}
!39 = distinct !{!39, !"LVerDomain"}
!40 = !{!41}
!41 = distinct !{!41, !39}
!42 = distinct !{!42, !19, !20, !21}
!43 = distinct !{!43, !29}
!44 = distinct !{!44, !19, !20}
!45 = distinct !{!45, !29}
!46 = !{!47}
!47 = distinct !{!47, !48}
!48 = distinct !{!48, !"LVerDomain"}
!49 = !{!50}
!50 = distinct !{!50, !48}
!51 = distinct !{!51, !19, !20, !21}
!52 = !{!53}
!53 = distinct !{!53, !54}
!54 = distinct !{!54, !"LVerDomain"}
!55 = !{!56, !57}
!56 = distinct !{!56, !54}
!57 = distinct !{!57, !54}
!58 = !{!56}
!59 = !{!57}
!60 = distinct !{!60, !19, !20, !21}
!61 = !{!62}
!62 = distinct !{!62, !63}
!63 = distinct !{!63, !"LVerDomain"}
!64 = !{!65, !66}
!65 = distinct !{!65, !63}
!66 = distinct !{!66, !63}
!67 = !{!65}
!68 = !{!66}
!69 = distinct !{!69, !19, !20, !21}
!70 = distinct !{!70, !19, !20}
!71 = distinct !{!71, !19, !20}
!72 = distinct !{!72, !29}
!73 = !{!74}
!74 = distinct !{!74, !75}
!75 = distinct !{!75, !"LVerDomain"}
!76 = !{!77}
!77 = distinct !{!77, !75}
!78 = distinct !{!78, !19, !20, !21}
!79 = !{!80}
!80 = distinct !{!80, !81}
!81 = distinct !{!81, !"LVerDomain"}
!82 = !{!83}
!83 = distinct !{!83, !81}
!84 = !{!85}
!85 = distinct !{!85, !81}
!86 = !{!87}
!87 = distinct !{!87, !81}
!88 = !{!80, !83, !85}
!89 = distinct !{!89, !19, !20, !21}
!90 = !{!91}
!91 = distinct !{!91, !92}
!92 = distinct !{!92, !"LVerDomain"}
!93 = !{!94}
!94 = distinct !{!94, !92}
!95 = !{!96}
!96 = distinct !{!96, !92}
!97 = !{!98}
!98 = distinct !{!98, !92}
!99 = !{!91, !94, !96}
!100 = distinct !{!100, !19, !20, !21}
!101 = distinct !{!101, !19, !20}
!102 = distinct !{!102, !19, !20}


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