; 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_struct_def = type { [1 x %struct.__jmp_buf_tag], ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i32, i32, i32, %struct.z_stream_s, ptr, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, %struct.png_row_info_struct, i32, i32, ptr, i16, i16, [5 x i8], i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i8, float, %struct.png_color_16_struct, %struct.png_color_16_struct, ptr, i32, i32, i32, float, float, ptr, ptr, ptr, ptr, ptr, ptr, %struct.png_color_8_struct, %struct.png_color_8_struct, ptr, %struct.png_color_16_struct, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i64, i64, i64, i64, i32, i32, i64, i64, ptr, ptr, ptr, ptr, ptr, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, ptr, i8, i16, i16, i16, i32, i32, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i32, i32, i32, %struct.png_unknown_chunk_t, i32, i32, ptr, i32 }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%struct.z_stream_s = type { ptr, i32, i64, ptr, i32, i64, ptr, ptr, ptr, ptr, ptr, i32, i64, i64 }
%struct.png_row_info_struct = type { i32, i64, i8, i8, i8, i8 }
%struct.png_color_8_struct = type { i8, i8, i8, i8, i8 }
%struct.png_color_16_struct = type { i8, i16, i16, i16, i16 }
%struct.png_unknown_chunk_t = type { [5 x i8], ptr, i64, i8 }

@__const.png_read_finish_row.png_pass_start = external hidden unnamed_addr constant [7 x i32], align 16
@__const.png_read_finish_row.png_pass_inc = external hidden unnamed_addr constant [7 x i32], align 16
@__const.png_read_finish_row.png_pass_ystart = external hidden unnamed_addr constant [7 x i32], align 16
@__const.png_read_finish_row.png_pass_yinc = external hidden unnamed_addr constant [7 x i32], align 16
@__const.png_read_finish_row.png_IDAT = external hidden unnamed_addr constant [5 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.134 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.135 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @png_get_uint_31(ptr noundef, ptr noundef) #0

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

declare void @png_error(ptr noundef, ptr noundef) #2

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

declare void @png_read_data(ptr noundef, ptr noundef, i64 noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

declare void @png_reset_crc(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @png_crc_read(ptr noundef, ptr noundef, i64 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @png_crc_finish(ptr noundef, i32 noundef) #0

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @png_read_finish_row(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca [7 x i32], align 16
  %4 = alloca [7 x i32], align 16
  %5 = alloca [7 x i32], align 16
  %6 = alloca [7 x i32], align 16
  %7 = alloca i32, align 4
  %8 = alloca [5 x i8], align 1
  %9 = alloca i8, align 1
  %10 = alloca i32, align 4
  %11 = alloca [4 x i8], align 1
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 28, ptr %3) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.png_read_finish_row.png_pass_start, i64 28, i1 false)
  call void @llvm.lifetime.start.p0(i64 28, ptr %4) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.png_read_finish_row.png_pass_inc, i64 28, i1 false)
  call void @llvm.lifetime.start.p0(i64 28, ptr %5) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.png_read_finish_row.png_pass_ystart, i64 28, i1 false)
  call void @llvm.lifetime.start.p0(i64 28, ptr %6) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.png_read_finish_row.png_pass_yinc, i64 28, i1 false)
  %12 = load ptr, ptr %2, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.png_struct_def, ptr %12, i32 0, i32 31
  %14 = load i32, ptr %13, align 4, !tbaa !9
  %15 = add i32 %14, 1
  store i32 %15, ptr %13, align 4, !tbaa !9
  %16 = load ptr, ptr %2, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.png_struct_def, ptr %16, i32 0, i32 31
  %18 = load i32, ptr %17, align 4, !tbaa !9
  %19 = load ptr, ptr %2, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.png_struct_def, ptr %19, i32 0, i32 26
  %21 = load i32, ptr %20, align 4, !tbaa !20
  %22 = icmp ult i32 %18, %21
  br i1 %22, label %23, label %24

23:                                               ; preds = %1
  store i32 1, ptr %7, align 4
  br label %323

24:                                               ; preds = %1
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.png_struct_def, ptr %25, i32 0, i32 47
  %27 = load i8, ptr %26, align 1, !tbaa !21
  %28 = icmp ne i8 %27, 0
  br i1 %28, label %29, label %132

29:                                               ; preds = %24
  %30 = load ptr, ptr %2, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.png_struct_def, ptr %30, i32 0, i32 31
  store i32 0, ptr %31, align 4, !tbaa !9
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.png_struct_def, ptr %32, i32 0, i32 32
  %34 = load ptr, ptr %33, align 8, !tbaa !22
  %35 = load ptr, ptr %2, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.png_struct_def, ptr %35, i32 0, i32 28
  %37 = load i64, ptr %36, align 8, !tbaa !23
  %38 = add i64 %37, 1
  call void @llvm.memset.p0.i64(ptr align 1 %34, i8 0, i64 %38, i1 false)
  br label %39

39:                                               ; preds = %119, %29
  %40 = load ptr, ptr %2, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.png_struct_def, ptr %40, i32 0, i32 48
  %42 = load i8, ptr %41, align 4, !tbaa !24
  %43 = add i8 %42, 1
  store i8 %43, ptr %41, align 4, !tbaa !24
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.png_struct_def, ptr %44, i32 0, i32 48
  %46 = load i8, ptr %45, align 4, !tbaa !24
  %47 = zext i8 %46 to i32
  %48 = icmp sge i32 %47, 7
  br i1 %48, label %49, label %50

49:                                               ; preds = %39
  br label %124

50:                                               ; preds = %39
  %51 = load ptr, ptr %2, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.png_struct_def, ptr %51, i32 0, i32 24
  %53 = load i32, ptr %52, align 4, !tbaa !25
  %54 = load ptr, ptr %2, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.png_struct_def, ptr %54, i32 0, i32 48
  %56 = load i8, ptr %55, align 4, !tbaa !24
  %57 = zext i8 %56 to i64
  %58 = getelementptr inbounds [7 x i32], ptr %4, i64 0, i64 %57
  %59 = load i32, ptr %58, align 4, !tbaa !26
  %60 = add i32 %53, %59
  %61 = sub i32 %60, 1
  %62 = load ptr, ptr %2, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.png_struct_def, ptr %62, i32 0, i32 48
  %64 = load i8, ptr %63, align 4, !tbaa !24
  %65 = zext i8 %64 to i64
  %66 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %65
  %67 = load i32, ptr %66, align 4, !tbaa !26
  %68 = sub i32 %61, %67
  %69 = load ptr, ptr %2, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.png_struct_def, ptr %69, i32 0, i32 48
  %71 = load i8, ptr %70, align 4, !tbaa !24
  %72 = zext i8 %71 to i64
  %73 = getelementptr inbounds [7 x i32], ptr %4, i64 0, i64 %72
  %74 = load i32, ptr %73, align 4, !tbaa !26
  %75 = udiv i32 %68, %74
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.png_struct_def, ptr %76, i32 0, i32 30
  store i32 %75, ptr %77, align 8, !tbaa !27
  %78 = load ptr, ptr %2, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.png_struct_def, ptr %78, i32 0, i32 15
  %80 = load i32, ptr %79, align 4, !tbaa !28
  %81 = and i32 %80, 2
  %82 = icmp ne i32 %81, 0
  br i1 %82, label %117, label %83

83:                                               ; preds = %50
  %84 = load ptr, ptr %2, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.png_struct_def, ptr %84, i32 0, i32 25
  %86 = load i32, ptr %85, align 8, !tbaa !29
  %87 = load ptr, ptr %2, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.png_struct_def, ptr %87, i32 0, i32 48
  %89 = load i8, ptr %88, align 4, !tbaa !24
  %90 = zext i8 %89 to i64
  %91 = getelementptr inbounds [7 x i32], ptr %6, i64 0, i64 %90
  %92 = load i32, ptr %91, align 4, !tbaa !26
  %93 = add i32 %86, %92
  %94 = sub i32 %93, 1
  %95 = load ptr, ptr %2, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.png_struct_def, ptr %95, i32 0, i32 48
  %97 = load i8, ptr %96, align 4, !tbaa !24
  %98 = zext i8 %97 to i64
  %99 = getelementptr inbounds [7 x i32], ptr %5, i64 0, i64 %98
  %100 = load i32, ptr %99, align 4, !tbaa !26
  %101 = sub i32 %94, %100
  %102 = load ptr, ptr %2, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.png_struct_def, ptr %102, i32 0, i32 48
  %104 = load i8, ptr %103, align 4, !tbaa !24
  %105 = zext i8 %104 to i64
  %106 = getelementptr inbounds [7 x i32], ptr %6, i64 0, i64 %105
  %107 = load i32, ptr %106, align 4, !tbaa !26
  %108 = udiv i32 %101, %107
  %109 = load ptr, ptr %2, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.png_struct_def, ptr %109, i32 0, i32 26
  store i32 %108, ptr %110, align 4, !tbaa !20
  %111 = load ptr, ptr %2, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.png_struct_def, ptr %111, i32 0, i32 26
  %113 = load i32, ptr %112, align 4, !tbaa !20
  %114 = icmp ne i32 %113, 0
  br i1 %114, label %116, label %115

115:                                              ; preds = %83
  br label %119

116:                                              ; preds = %83
  br label %118

117:                                              ; preds = %50
  br label %124

118:                                              ; preds = %116
  br label %119

119:                                              ; preds = %118, %115
  %120 = load ptr, ptr %2, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.png_struct_def, ptr %120, i32 0, i32 30
  %122 = load i32, ptr %121, align 8, !tbaa !27
  %123 = icmp eq i32 %122, 0
  br i1 %123, label %39, label %124, !llvm.loop !30

124:                                              ; preds = %119, %117, %49
  %125 = load ptr, ptr %2, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.png_struct_def, ptr %125, i32 0, i32 48
  %127 = load i8, ptr %126, align 4, !tbaa !24
  %128 = zext i8 %127 to i32
  %129 = icmp slt i32 %128, 7
  br i1 %129, label %130, label %131

130:                                              ; preds = %124
  store i32 1, ptr %7, align 4
  br label %323

131:                                              ; preds = %124
  br label %132

132:                                              ; preds = %131, %24
  %133 = load ptr, ptr %2, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.png_struct_def, ptr %133, i32 0, i32 14
  %135 = load i32, ptr %134, align 8, !tbaa !32
  %136 = and i32 %135, 32
  %137 = icmp ne i32 %136, 0
  br i1 %137, label %302, label %138

138:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 5, ptr %8) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.png_read_finish_row.png_IDAT, i64 5, i1 false)
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %139 = load ptr, ptr %2, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.png_struct_def, ptr %139, i32 0, i32 16
  %141 = getelementptr inbounds %struct.z_stream_s, ptr %140, i32 0, i32 3
  store ptr %9, ptr %141, align 8, !tbaa !33
  %142 = load ptr, ptr %2, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.png_struct_def, ptr %142, i32 0, i32 16
  %144 = getelementptr inbounds %struct.z_stream_s, ptr %143, i32 0, i32 4
  store i32 1, ptr %144, align 8, !tbaa !34
  br label %145

145:                                              ; preds = %297, %138
  %146 = load ptr, ptr %2, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.png_struct_def, ptr %146, i32 0, i32 16
  %148 = getelementptr inbounds %struct.z_stream_s, ptr %147, i32 0, i32 1
  %149 = load i32, ptr %148, align 8, !tbaa !35
  %150 = icmp ne i32 %149, 0
  br i1 %150, label %229, label %151

151:                                              ; preds = %145
  br label %152

152:                                              ; preds = %181, %151
  %153 = load ptr, ptr %2, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.png_struct_def, ptr %153, i32 0, i32 39
  %155 = load i32, ptr %154, align 8, !tbaa !36
  %156 = icmp ne i32 %155, 0
  %157 = xor i1 %156, true
  br i1 %157, label %158, label %182

158:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %159 = load ptr, ptr %2, align 8, !tbaa !5
  %160 = call i32 @png_crc_finish(ptr noundef %159, i32 noundef 0)
  %161 = load ptr, ptr %2, align 8, !tbaa !5
  %162 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 0
  call void @png_read_data(ptr noundef %161, ptr noundef %162, i64 noundef 4)
  %163 = load ptr, ptr %2, align 8, !tbaa !5
  %164 = getelementptr inbounds [4 x i8], ptr %11, i64 0, i64 0
  %165 = call i32 @png_get_uint_31(ptr noundef %163, ptr noundef %164)
  %166 = load ptr, ptr %2, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.png_struct_def, ptr %166, i32 0, i32 39
  store i32 %165, ptr %167, align 8, !tbaa !36
  %168 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_reset_crc(ptr noundef %168)
  %169 = load ptr, ptr %2, align 8, !tbaa !5
  %170 = load ptr, ptr %2, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.png_struct_def, ptr %170, i32 0, i32 44
  %172 = getelementptr inbounds [5 x i8], ptr %171, i64 0, i64 0
  call void @png_crc_read(ptr noundef %169, ptr noundef %172, i64 noundef 4)
  %173 = load ptr, ptr %2, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.png_struct_def, ptr %173, i32 0, i32 44
  %175 = getelementptr inbounds [5 x i8], ptr %174, i64 0, i64 0
  %176 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %177 = call i32 @memcmp(ptr noundef %175, ptr noundef %176, i64 noundef 4) #7
  %178 = icmp ne i32 %177, 0
  br i1 %178, label %179, label %181

179:                                              ; preds = %158
  %180 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_error(ptr noundef %180, ptr noundef @.str.132)
  br label %181

181:                                              ; preds = %179, %158
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %152, !llvm.loop !37

182:                                              ; preds = %152
  %183 = load ptr, ptr %2, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.png_struct_def, ptr %183, i32 0, i32 18
  %185 = load i64, ptr %184, align 8, !tbaa !38
  %186 = trunc i64 %185 to i32
  %187 = load ptr, ptr %2, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.png_struct_def, ptr %187, i32 0, i32 16
  %189 = getelementptr inbounds %struct.z_stream_s, ptr %188, i32 0, i32 1
  store i32 %186, ptr %189, align 8, !tbaa !35
  %190 = load ptr, ptr %2, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.png_struct_def, ptr %190, i32 0, i32 17
  %192 = load ptr, ptr %191, align 8, !tbaa !39
  %193 = load ptr, ptr %2, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.png_struct_def, ptr %193, i32 0, i32 16
  %195 = getelementptr inbounds %struct.z_stream_s, ptr %194, i32 0, i32 0
  store ptr %192, ptr %195, align 8, !tbaa !40
  %196 = load ptr, ptr %2, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.png_struct_def, ptr %196, i32 0, i32 18
  %198 = load i64, ptr %197, align 8, !tbaa !38
  %199 = load ptr, ptr %2, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.png_struct_def, ptr %199, i32 0, i32 39
  %201 = load i32, ptr %200, align 8, !tbaa !36
  %202 = zext i32 %201 to i64
  %203 = icmp ugt i64 %198, %202
  br i1 %203, label %204, label %211

204:                                              ; preds = %182
  %205 = load ptr, ptr %2, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.png_struct_def, ptr %205, i32 0, i32 39
  %207 = load i32, ptr %206, align 8, !tbaa !36
  %208 = load ptr, ptr %2, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.png_struct_def, ptr %208, i32 0, i32 16
  %210 = getelementptr inbounds %struct.z_stream_s, ptr %209, i32 0, i32 1
  store i32 %207, ptr %210, align 8, !tbaa !35
  br label %211

211:                                              ; preds = %204, %182
  %212 = load ptr, ptr %2, align 8, !tbaa !5
  %213 = load ptr, ptr %2, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.png_struct_def, ptr %213, i32 0, i32 17
  %215 = load ptr, ptr %214, align 8, !tbaa !39
  %216 = load ptr, ptr %2, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.png_struct_def, ptr %216, i32 0, i32 16
  %218 = getelementptr inbounds %struct.z_stream_s, ptr %217, i32 0, i32 1
  %219 = load i32, ptr %218, align 8, !tbaa !35
  %220 = zext i32 %219 to i64
  call void @png_crc_read(ptr noundef %212, ptr noundef %215, i64 noundef %220)
  %221 = load ptr, ptr %2, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.png_struct_def, ptr %221, i32 0, i32 16
  %223 = getelementptr inbounds %struct.z_stream_s, ptr %222, i32 0, i32 1
  %224 = load i32, ptr %223, align 8, !tbaa !35
  %225 = load ptr, ptr %2, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.png_struct_def, ptr %225, i32 0, i32 39
  %227 = load i32, ptr %226, align 8, !tbaa !36
  %228 = sub i32 %227, %224
  store i32 %228, ptr %226, align 8, !tbaa !36
  br label %229

229:                                              ; preds = %211, %145
  %230 = load ptr, ptr %2, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.png_struct_def, ptr %230, i32 0, i32 16
  %232 = call i32 @inflate(ptr noundef %231, i32 noundef 1)
  store i32 %232, ptr %10, align 4, !tbaa !26
  %233 = load i32, ptr %10, align 4, !tbaa !26
  %234 = icmp eq i32 %233, 1
  br i1 %234, label %235, label %263

235:                                              ; preds = %229
  %236 = load ptr, ptr %2, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.png_struct_def, ptr %236, i32 0, i32 16
  %238 = getelementptr inbounds %struct.z_stream_s, ptr %237, i32 0, i32 4
  %239 = load i32, ptr %238, align 8, !tbaa !34
  %240 = icmp ne i32 %239, 0
  br i1 %240, label %241, label %252

241:                                              ; preds = %235
  %242 = load ptr, ptr %2, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.png_struct_def, ptr %242, i32 0, i32 16
  %244 = getelementptr inbounds %struct.z_stream_s, ptr %243, i32 0, i32 1
  %245 = load i32, ptr %244, align 8, !tbaa !35
  %246 = icmp ne i32 %245, 0
  br i1 %246, label %252, label %247

247:                                              ; preds = %241
  %248 = load ptr, ptr %2, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.png_struct_def, ptr %248, i32 0, i32 39
  %250 = load i32, ptr %249, align 8, !tbaa !36
  %251 = icmp ne i32 %250, 0
  br i1 %251, label %252, label %254

252:                                              ; preds = %247, %241, %235
  %253 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_warning(ptr noundef %253, ptr noundef @.str.133)
  br label %254

254:                                              ; preds = %252, %247
  %255 = load ptr, ptr %2, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.png_struct_def, ptr %255, i32 0, i32 13
  %257 = load i32, ptr %256, align 4, !tbaa !41
  %258 = or i32 %257, 8
  store i32 %258, ptr %256, align 4, !tbaa !41
  %259 = load ptr, ptr %2, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.png_struct_def, ptr %259, i32 0, i32 14
  %261 = load i32, ptr %260, align 8, !tbaa !32
  %262 = or i32 %261, 32
  store i32 %262, ptr %260, align 8, !tbaa !32
  br label %298

263:                                              ; preds = %229
  %264 = load i32, ptr %10, align 4, !tbaa !26
  %265 = icmp ne i32 %264, 0
  br i1 %265, label %266, label %281

266:                                              ; preds = %263
  %267 = load ptr, ptr %2, align 8, !tbaa !5
  %268 = load ptr, ptr %2, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.png_struct_def, ptr %268, i32 0, i32 16
  %270 = getelementptr inbounds %struct.z_stream_s, ptr %269, i32 0, i32 6
  %271 = load ptr, ptr %270, align 8, !tbaa !42
  %272 = icmp ne ptr %271, null
  br i1 %272, label %273, label %278

273:                                              ; preds = %266
  %274 = load ptr, ptr %2, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.png_struct_def, ptr %274, i32 0, i32 16
  %276 = getelementptr inbounds %struct.z_stream_s, ptr %275, i32 0, i32 6
  %277 = load ptr, ptr %276, align 8, !tbaa !42
  br label %279

278:                                              ; preds = %266
  br label %279

279:                                              ; preds = %278, %273
  %280 = phi ptr [ %277, %273 ], [ @.str.134, %278 ]
  call void @png_error(ptr noundef %267, ptr noundef %280)
  br label %281

281:                                              ; preds = %279, %263
  %282 = load ptr, ptr %2, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.png_struct_def, ptr %282, i32 0, i32 16
  %284 = getelementptr inbounds %struct.z_stream_s, ptr %283, i32 0, i32 4
  %285 = load i32, ptr %284, align 8, !tbaa !34
  %286 = icmp ne i32 %285, 0
  br i1 %286, label %297, label %287

287:                                              ; preds = %281
  %288 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_warning(ptr noundef %288, ptr noundef @.str.133)
  %289 = load ptr, ptr %2, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.png_struct_def, ptr %289, i32 0, i32 13
  %291 = load i32, ptr %290, align 4, !tbaa !41
  %292 = or i32 %291, 8
  store i32 %292, ptr %290, align 4, !tbaa !41
  %293 = load ptr, ptr %2, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.png_struct_def, ptr %293, i32 0, i32 14
  %295 = load i32, ptr %294, align 8, !tbaa !32
  %296 = or i32 %295, 32
  store i32 %296, ptr %294, align 8, !tbaa !32
  br label %298

297:                                              ; preds = %281
  br label %145

298:                                              ; preds = %287, %254
  %299 = load ptr, ptr %2, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.png_struct_def, ptr %299, i32 0, i32 16
  %301 = getelementptr inbounds %struct.z_stream_s, ptr %300, i32 0, i32 4
  store i32 0, ptr %301, align 8, !tbaa !34
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 5, ptr %8) #6
  br label %302

302:                                              ; preds = %298, %132
  %303 = load ptr, ptr %2, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.png_struct_def, ptr %303, i32 0, i32 39
  %305 = load i32, ptr %304, align 8, !tbaa !36
  %306 = icmp ne i32 %305, 0
  br i1 %306, label %313, label %307

307:                                              ; preds = %302
  %308 = load ptr, ptr %2, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.png_struct_def, ptr %308, i32 0, i32 16
  %310 = getelementptr inbounds %struct.z_stream_s, ptr %309, i32 0, i32 1
  %311 = load i32, ptr %310, align 8, !tbaa !35
  %312 = icmp ne i32 %311, 0
  br i1 %312, label %313, label %315

313:                                              ; preds = %307, %302
  %314 = load ptr, ptr %2, align 8, !tbaa !5
  call void @png_warning(ptr noundef %314, ptr noundef @.str.135)
  br label %315

315:                                              ; preds = %313, %307
  %316 = load ptr, ptr %2, align 8, !tbaa !5
  %317 = getelementptr inbounds %struct.png_struct_def, ptr %316, i32 0, i32 16
  %318 = call i32 @inflateReset(ptr noundef %317)
  %319 = load ptr, ptr %2, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.png_struct_def, ptr %319, i32 0, i32 13
  %321 = load i32, ptr %320, align 4, !tbaa !41
  %322 = or i32 %321, 8
  store i32 %322, ptr %320, align 4, !tbaa !41
  store i32 0, ptr %7, align 4
  br label %323

323:                                              ; preds = %315, %130, %23
  call void @llvm.lifetime.end.p0(i64 28, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 28, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 28, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 28, ptr %3) #6
  %324 = load i32, ptr %7, align 4
  switch i32 %324, label %326 [
    i32 0, label %325
    i32 1, label %325
  ]

325:                                              ; preds = %323, %323
  ret void

326:                                              ; preds = %323
  unreachable
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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

declare i32 @inflateReset(ptr noundef) #2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }

!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, !11, i64 484}
!10 = !{!"png_struct_def", !7, i64 0, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !7, i64 280, !7, i64 281, !11, i64 284, !11, i64 288, !11, i64 292, !12, i64 296, !6, i64 408, !13, i64 416, !11, i64 424, !11, i64 428, !11, i64 432, !11, i64 436, !11, i64 440, !11, i64 444, !11, i64 448, !11, i64 452, !11, i64 456, !13, i64 464, !13, i64 472, !11, i64 480, !11, i64 484, !6, i64 488, !6, i64 496, !6, i64 504, !6, i64 512, !6, i64 520, !6, i64 528, !14, i64 536, !11, i64 560, !11, i64 564, !6, i64 568, !15, i64 576, !15, i64 578, !7, i64 580, !7, i64 585, !7, i64 586, !7, i64 587, !7, i64 588, !7, i64 589, !7, i64 590, !7, i64 591, !7, i64 592, !7, i64 593, !7, i64 594, !7, i64 595, !7, i64 596, !15, i64 598, !7, i64 600, !16, i64 604, !17, i64 608, !17, i64 618, !6, i64 632, !11, i64 640, !11, i64 644, !11, i64 648, !16, i64 652, !16, i64 656, !6, i64 664, !6, i64 672, !6, i64 680, !6, i64 688, !6, i64 696, !6, i64 704, !18, i64 712, !18, i64 717, !6, i64 728, !17, i64 736, !6, i64 752, !6, i64 760, !6, i64 768, !6, i64 776, !6, i64 784, !6, i64 792, !6, i64 800, !6, i64 808, !6, i64 816, !11, i64 824, !11, i64 828, !13, i64 832, !13, i64 840, !13, i64 848, !13, i64 856, !11, i64 864, !11, i64 868, !13, i64 872, !13, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !6, i64 912, !6, i64 920, !7, i64 928, !7, i64 929, !6, i64 936, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !6, i64 976, !11, i64 984, !6, i64 992, !6, i64 1000, !11, i64 1008, !6, i64 1016, !7, i64 1024, !15, i64 1026, !15, i64 1028, !15, i64 1030, !11, i64 1032, !11, i64 1036, !7, i64 1040, !6, i64 1048, !6, i64 1056, !6, i64 1064, !6, i64 1072, !6, i64 1080, !6, i64 1088, !6, i64 1096, !7, i64 1104, !11, i64 1108, !11, i64 1112, !11, i64 1116, !19, i64 1120, !11, i64 1152, !11, i64 1156, !6, i64 1160, !11, i64 1168}
!11 = !{!"int", !7, i64 0}
!12 = !{!"z_stream_s", !6, i64 0, !11, i64 8, !13, i64 16, !6, i64 24, !11, i64 32, !13, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !11, i64 88, !13, i64 96, !13, i64 104}
!13 = !{!"long", !7, i64 0}
!14 = !{!"png_row_info_struct", !11, i64 0, !13, i64 8, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19}
!15 = !{!"short", !7, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = !{!"png_color_16_struct", !7, i64 0, !15, i64 2, !15, i64 4, !15, i64 6, !15, i64 8}
!18 = !{!"png_color_8_struct", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4}
!19 = !{!"png_unknown_chunk_t", !7, i64 0, !6, i64 8, !13, i64 16, !7, i64 24}
!20 = !{!10, !11, i64 452}
!21 = !{!10, !7, i64 587}
!22 = !{!10, !6, i64 488}
!23 = !{!10, !13, i64 464}
!24 = !{!10, !7, i64 588}
!25 = !{!10, !11, i64 444}
!26 = !{!11, !11, i64 0}
!27 = !{!10, !11, i64 480}
!28 = !{!10, !11, i64 292}
!29 = !{!10, !11, i64 448}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!10, !11, i64 288}
!33 = !{!10, !6, i64 320}
!34 = !{!10, !11, i64 328}
!35 = !{!10, !11, i64 304}
!36 = !{!10, !11, i64 560}
!37 = distinct !{!37, !31}
!38 = !{!10, !13, i64 416}
!39 = !{!10, !6, i64 408}
!40 = !{!10, !6, i64 296}
!41 = !{!10, !11, i64 284}
!42 = !{!10, !6, i64 344}


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

@__const.png_read_finish_row.png_pass_start = external hidden unnamed_addr constant [7 x i32], align 16
@__const.png_read_finish_row.png_pass_inc = external hidden unnamed_addr constant [7 x i32], align 16
@__const.png_read_finish_row.png_pass_ystart = external hidden unnamed_addr constant [7 x i32], align 16
@__const.png_read_finish_row.png_pass_yinc = external hidden unnamed_addr constant [7 x i32], align 16
@__const.png_read_finish_row.png_IDAT = external hidden unnamed_addr constant [5 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.134 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.135 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @png_get_uint_31(ptr noundef, ptr noundef) local_unnamed_addr #0

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

declare void @png_error(ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare void @png_read_data(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare void @png_reset_crc(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @png_crc_read(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @png_crc_finish(ptr noundef, i32 noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local void @png_read_finish_row(ptr noundef %0) local_unnamed_addr #0 {
  %2 = alloca i8, align 1
  %3 = alloca [4 x i8], align 1
  %4 = getelementptr inbounds i8, ptr %0, i64 484
  %5 = load i32, ptr %4, align 4, !tbaa !5
  %6 = add i32 %5, 1
  store i32 %6, ptr %4, align 4, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 452
  %8 = load i32, ptr %7, align 4, !tbaa !19
  %9 = icmp ult i32 %6, %8
  br i1 %9, label %.thread, label %10

10:                                               ; preds = %1
  %11 = getelementptr inbounds i8, ptr %0, i64 587
  %12 = load i8, ptr %11, align 1, !tbaa !20
  %.not = icmp eq i8 %12, 0
  br i1 %.not, label %238, label %13

13:                                               ; preds = %10
  store i32 0, ptr %4, align 4, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %0, i64 488
  %15 = load ptr, ptr %14, align 8, !tbaa !21
  %16 = getelementptr inbounds i8, ptr %0, i64 464
  %17 = load i64, ptr %16, align 8, !tbaa !22
  %18 = add i64 %17, 1
  tail call void @llvm.memset.p0.i64(ptr align 1 %15, i8 0, i64 %18, i1 false)
  %19 = getelementptr inbounds i8, ptr %0, i64 588
  %.promoted = load i8, ptr %19, align 4, !tbaa !23
  %20 = getelementptr inbounds i8, ptr %0, i64 444
  %21 = getelementptr inbounds i8, ptr %0, i64 480
  %22 = getelementptr inbounds i8, ptr %0, i64 292
  %23 = getelementptr inbounds i8, ptr %0, i64 448
  %24 = add i8 %.promoted, 1
  %25 = icmp ugt i8 %24, 6
  br i1 %25, label %.loopexit, label %26

26:                                               ; preds = %13
  %27 = load i32, ptr %20, align 4, !tbaa !24
  %28 = zext nneg i8 %24 to i64
  %29 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_inc, i64 0, i64 %28
  %30 = load i32, ptr %29, align 4, !tbaa !25
  %31 = add i32 %30, %27
  %32 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_start, i64 0, i64 %28
  %33 = load i32, ptr %32, align 4, !tbaa !25
  %34 = xor i32 %33, -1
  %35 = add i32 %31, %34
  %36 = udiv i32 %35, %30
  store i32 %36, ptr %21, align 8, !tbaa !26
  %37 = load i32, ptr %22, align 4, !tbaa !27
  %38 = and i32 %37, 2
  %.not72 = icmp eq i32 %38, 0
  br i1 %.not72, label %39, label %.thread.loopexit

39:                                               ; preds = %26
  %40 = load i32, ptr %23, align 8, !tbaa !28
  %41 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_yinc, i64 0, i64 %28
  %42 = load i32, ptr %41, align 4, !tbaa !25
  %43 = add i32 %42, %40
  %44 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_ystart, i64 0, i64 %28
  %45 = load i32, ptr %44, align 4, !tbaa !25
  %46 = xor i32 %45, -1
  %47 = add i32 %43, %46
  %48 = udiv i32 %47, %42
  store i32 %48, ptr %7, align 4, !tbaa !19
  %49 = icmp ugt i32 %30, %35
  br i1 %49, label %50, label %.thread.loopexit, !llvm.loop !29

50:                                               ; preds = %39
  %51 = add i8 %.promoted, 2
  %52 = icmp ugt i8 %51, 6
  br i1 %52, label %.loopexit, label %53

53:                                               ; preds = %50
  %54 = load i32, ptr %20, align 4, !tbaa !24
  %55 = zext nneg i8 %51 to i64
  %56 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_inc, i64 0, i64 %55
  %57 = load i32, ptr %56, align 4, !tbaa !25
  %58 = add i32 %57, %54
  %59 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_start, i64 0, i64 %55
  %60 = load i32, ptr %59, align 4, !tbaa !25
  %61 = xor i32 %60, -1
  %62 = add i32 %58, %61
  %63 = udiv i32 %62, %57
  store i32 %63, ptr %21, align 8, !tbaa !26
  %64 = load i32, ptr %22, align 4, !tbaa !27
  %65 = and i32 %64, 2
  %.not72.1 = icmp eq i32 %65, 0
  br i1 %.not72.1, label %66, label %.thread.loopexit

66:                                               ; preds = %53
  %67 = load i32, ptr %23, align 8, !tbaa !28
  %68 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_yinc, i64 0, i64 %55
  %69 = load i32, ptr %68, align 4, !tbaa !25
  %70 = add i32 %69, %67
  %71 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_ystart, i64 0, i64 %55
  %72 = load i32, ptr %71, align 4, !tbaa !25
  %73 = xor i32 %72, -1
  %74 = add i32 %70, %73
  %75 = udiv i32 %74, %69
  store i32 %75, ptr %7, align 4, !tbaa !19
  %76 = icmp ugt i32 %57, %62
  br i1 %76, label %77, label %.thread.loopexit, !llvm.loop !29

77:                                               ; preds = %66
  %78 = add i8 %.promoted, 3
  %79 = icmp ugt i8 %78, 6
  br i1 %79, label %.loopexit, label %80

80:                                               ; preds = %77
  %81 = load i32, ptr %20, align 4, !tbaa !24
  %82 = zext nneg i8 %78 to i64
  %83 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_inc, i64 0, i64 %82
  %84 = load i32, ptr %83, align 4, !tbaa !25
  %85 = add i32 %84, %81
  %86 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_start, i64 0, i64 %82
  %87 = load i32, ptr %86, align 4, !tbaa !25
  %88 = xor i32 %87, -1
  %89 = add i32 %85, %88
  %90 = udiv i32 %89, %84
  store i32 %90, ptr %21, align 8, !tbaa !26
  %91 = load i32, ptr %22, align 4, !tbaa !27
  %92 = and i32 %91, 2
  %.not72.2 = icmp eq i32 %92, 0
  br i1 %.not72.2, label %93, label %.thread.loopexit

93:                                               ; preds = %80
  %94 = load i32, ptr %23, align 8, !tbaa !28
  %95 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_yinc, i64 0, i64 %82
  %96 = load i32, ptr %95, align 4, !tbaa !25
  %97 = add i32 %96, %94
  %98 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_ystart, i64 0, i64 %82
  %99 = load i32, ptr %98, align 4, !tbaa !25
  %100 = xor i32 %99, -1
  %101 = add i32 %97, %100
  %102 = udiv i32 %101, %96
  store i32 %102, ptr %7, align 4, !tbaa !19
  %103 = icmp ugt i32 %84, %89
  br i1 %103, label %104, label %.thread.loopexit, !llvm.loop !29

104:                                              ; preds = %93
  %105 = add i8 %.promoted, 4
  %106 = icmp ugt i8 %105, 6
  br i1 %106, label %.loopexit, label %107

107:                                              ; preds = %104
  %108 = load i32, ptr %20, align 4, !tbaa !24
  %109 = zext nneg i8 %105 to i64
  %110 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_inc, i64 0, i64 %109
  %111 = load i32, ptr %110, align 4, !tbaa !25
  %112 = add i32 %111, %108
  %113 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_start, i64 0, i64 %109
  %114 = load i32, ptr %113, align 4, !tbaa !25
  %115 = xor i32 %114, -1
  %116 = add i32 %112, %115
  %117 = udiv i32 %116, %111
  store i32 %117, ptr %21, align 8, !tbaa !26
  %118 = load i32, ptr %22, align 4, !tbaa !27
  %119 = and i32 %118, 2
  %.not72.3 = icmp eq i32 %119, 0
  br i1 %.not72.3, label %120, label %.thread.loopexit

120:                                              ; preds = %107
  %121 = load i32, ptr %23, align 8, !tbaa !28
  %122 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_yinc, i64 0, i64 %109
  %123 = load i32, ptr %122, align 4, !tbaa !25
  %124 = add i32 %123, %121
  %125 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_ystart, i64 0, i64 %109
  %126 = load i32, ptr %125, align 4, !tbaa !25
  %127 = xor i32 %126, -1
  %128 = add i32 %124, %127
  %129 = udiv i32 %128, %123
  store i32 %129, ptr %7, align 4, !tbaa !19
  %130 = icmp ugt i32 %111, %116
  br i1 %130, label %131, label %.thread.loopexit, !llvm.loop !29

131:                                              ; preds = %120
  %132 = add i8 %.promoted, 5
  %133 = icmp ugt i8 %132, 6
  br i1 %133, label %.loopexit, label %134

134:                                              ; preds = %131
  %135 = load i32, ptr %20, align 4, !tbaa !24
  %136 = zext nneg i8 %132 to i64
  %137 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_inc, i64 0, i64 %136
  %138 = load i32, ptr %137, align 4, !tbaa !25
  %139 = add i32 %138, %135
  %140 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_start, i64 0, i64 %136
  %141 = load i32, ptr %140, align 4, !tbaa !25
  %142 = xor i32 %141, -1
  %143 = add i32 %139, %142
  %144 = udiv i32 %143, %138
  store i32 %144, ptr %21, align 8, !tbaa !26
  %145 = load i32, ptr %22, align 4, !tbaa !27
  %146 = and i32 %145, 2
  %.not72.4 = icmp eq i32 %146, 0
  br i1 %.not72.4, label %147, label %.thread.loopexit

147:                                              ; preds = %134
  %148 = load i32, ptr %23, align 8, !tbaa !28
  %149 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_yinc, i64 0, i64 %136
  %150 = load i32, ptr %149, align 4, !tbaa !25
  %151 = add i32 %150, %148
  %152 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_ystart, i64 0, i64 %136
  %153 = load i32, ptr %152, align 4, !tbaa !25
  %154 = xor i32 %153, -1
  %155 = add i32 %151, %154
  %156 = udiv i32 %155, %150
  store i32 %156, ptr %7, align 4, !tbaa !19
  %157 = icmp ugt i32 %138, %143
  br i1 %157, label %158, label %.thread.loopexit, !llvm.loop !29

158:                                              ; preds = %147
  %159 = add i8 %.promoted, 6
  %160 = icmp ugt i8 %159, 6
  br i1 %160, label %.loopexit, label %161

161:                                              ; preds = %158
  %162 = load i32, ptr %20, align 4, !tbaa !24
  %163 = zext nneg i8 %159 to i64
  %164 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_inc, i64 0, i64 %163
  %165 = load i32, ptr %164, align 4, !tbaa !25
  %166 = add i32 %165, %162
  %167 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_start, i64 0, i64 %163
  %168 = load i32, ptr %167, align 4, !tbaa !25
  %169 = xor i32 %168, -1
  %170 = add i32 %166, %169
  %171 = udiv i32 %170, %165
  store i32 %171, ptr %21, align 8, !tbaa !26
  %172 = load i32, ptr %22, align 4, !tbaa !27
  %173 = and i32 %172, 2
  %.not72.5 = icmp eq i32 %173, 0
  br i1 %.not72.5, label %174, label %.thread.loopexit

174:                                              ; preds = %161
  %175 = load i32, ptr %23, align 8, !tbaa !28
  %176 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_yinc, i64 0, i64 %163
  %177 = load i32, ptr %176, align 4, !tbaa !25
  %178 = add i32 %177, %175
  %179 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_ystart, i64 0, i64 %163
  %180 = load i32, ptr %179, align 4, !tbaa !25
  %181 = xor i32 %180, -1
  %182 = add i32 %178, %181
  %183 = udiv i32 %182, %177
  store i32 %183, ptr %7, align 4, !tbaa !19
  %184 = icmp ugt i32 %165, %170
  br i1 %184, label %185, label %.thread.loopexit, !llvm.loop !29

185:                                              ; preds = %174
  %186 = add i8 %.promoted, 7
  %187 = icmp ult i8 %.promoted, -7
  br i1 %187, label %.loopexit, label %188

188:                                              ; preds = %185
  %189 = load i32, ptr %20, align 4, !tbaa !24
  %190 = zext nneg i8 %186 to i64
  %191 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_inc, i64 0, i64 %190
  %192 = load i32, ptr %191, align 4, !tbaa !25
  %193 = add i32 %192, %189
  %194 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_start, i64 0, i64 %190
  %195 = load i32, ptr %194, align 4, !tbaa !25
  %196 = xor i32 %195, -1
  %197 = add i32 %193, %196
  %198 = udiv i32 %197, %192
  store i32 %198, ptr %21, align 8, !tbaa !26
  %199 = load i32, ptr %22, align 4, !tbaa !27
  %200 = and i32 %199, 2
  %.not72.6 = icmp eq i32 %200, 0
  br i1 %.not72.6, label %201, label %.thread.loopexit

201:                                              ; preds = %188
  %202 = load i32, ptr %23, align 8, !tbaa !28
  %203 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_yinc, i64 0, i64 %190
  %204 = load i32, ptr %203, align 4, !tbaa !25
  %205 = add i32 %204, %202
  %206 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_ystart, i64 0, i64 %190
  %207 = load i32, ptr %206, align 4, !tbaa !25
  %208 = xor i32 %207, -1
  %209 = add i32 %205, %208
  %210 = udiv i32 %209, %204
  store i32 %210, ptr %7, align 4, !tbaa !19
  %211 = icmp ugt i32 %192, %197
  br i1 %211, label %212, label %.thread.loopexit, !llvm.loop !29

212:                                              ; preds = %201
  %213 = add nsw i8 %.promoted, 8
  %214 = icmp ugt i8 %213, 6
  br i1 %214, label %.loopexit, label %215

215:                                              ; preds = %212
  %216 = load i32, ptr %20, align 4, !tbaa !24
  %217 = zext nneg i8 %213 to i64
  %218 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_inc, i64 0, i64 %217
  %219 = load i32, ptr %218, align 4, !tbaa !25
  %220 = add i32 %219, %216
  %221 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_start, i64 0, i64 %217
  %222 = load i32, ptr %221, align 4, !tbaa !25
  %223 = xor i32 %222, -1
  %224 = add i32 %220, %223
  %225 = udiv i32 %224, %219
  store i32 %225, ptr %21, align 8, !tbaa !26
  %226 = load i32, ptr %22, align 4, !tbaa !27
  %227 = and i32 %226, 2
  %.not72.7 = icmp eq i32 %227, 0
  br i1 %.not72.7, label %228, label %.thread.loopexit

228:                                              ; preds = %215
  %229 = load i32, ptr %23, align 8, !tbaa !28
  %230 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_yinc, i64 0, i64 %217
  %231 = load i32, ptr %230, align 4, !tbaa !25
  %232 = add i32 %231, %229
  %233 = getelementptr inbounds [7 x i32], ptr @__const.png_read_finish_row.png_pass_ystart, i64 0, i64 %217
  %234 = load i32, ptr %233, align 4, !tbaa !25
  %235 = xor i32 %234, -1
  %236 = add i32 %232, %235
  %237 = udiv i32 %236, %231
  store i32 %237, ptr %7, align 4, !tbaa !19
  br label %.thread.loopexit

.loopexit:                                        ; preds = %212, %185, %158, %131, %104, %77, %50, %13
  %.lcssa104 = phi i8 [ %24, %13 ], [ %51, %50 ], [ %78, %77 ], [ %105, %104 ], [ %132, %131 ], [ %159, %158 ], [ %186, %185 ], [ %213, %212 ]
  store i8 %.lcssa104, ptr %19, align 4, !tbaa !23
  br label %238

238:                                              ; preds = %.loopexit, %10
  %239 = getelementptr inbounds i8, ptr %0, i64 288
  %240 = load i32, ptr %239, align 8, !tbaa !31
  %241 = and i32 %240, 32
  %.not73 = icmp eq i32 %241, 0
  br i1 %.not73, label %242, label %285

242:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #5
  %243 = getelementptr inbounds i8, ptr %0, i64 296
  %244 = getelementptr inbounds i8, ptr %0, i64 320
  store ptr %2, ptr %244, align 8, !tbaa !32
  %245 = getelementptr inbounds i8, ptr %0, i64 328
  store i32 1, ptr %245, align 8, !tbaa !33
  %246 = getelementptr inbounds i8, ptr %0, i64 304
  %247 = getelementptr inbounds i8, ptr %0, i64 560
  %248 = getelementptr inbounds i8, ptr %0, i64 580
  %249 = getelementptr inbounds i8, ptr %0, i64 416
  %250 = getelementptr inbounds i8, ptr %0, i64 408
  %251 = getelementptr inbounds i8, ptr %0, i64 344
  br label %252

252:                                              ; preds = %279, %242
  %253 = load i32, ptr %246, align 8, !tbaa !34
  %.not74 = icmp eq i32 %253, 0
  br i1 %.not74, label %.preheader, label %269

.preheader:                                       ; preds = %252
  %254 = load i32, ptr %247, align 8, !tbaa !35
  %.not7590 = icmp eq i32 %254, 0
  br i1 %.not7590, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader, %258
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  %255 = call i32 @png_crc_finish(ptr noundef nonnull %0, i32 noundef 0)
  call void @png_read_data(ptr noundef nonnull %0, ptr noundef nonnull %3, i64 noundef 4) #5
  %256 = call i32 @png_get_uint_31(ptr noundef nonnull %0, ptr noundef nonnull %3)
  store i32 %256, ptr %247, align 8, !tbaa !35
  call void @png_reset_crc(ptr noundef nonnull %0) #5
  call void @png_crc_read(ptr noundef nonnull %0, ptr noundef nonnull %248, i64 noundef 4)
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %248, ptr noundef nonnull dereferenceable(4) @__const.png_read_finish_row.png_IDAT, i64 4)
  %.not76 = icmp eq i32 %bcmp, 0
  br i1 %.not76, label %258, label %257

257:                                              ; preds = %.lr.ph
  call void @png_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.132) #5
  br label %258

258:                                              ; preds = %257, %.lr.ph
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  %259 = load i32, ptr %247, align 8, !tbaa !35
  %.not75 = icmp eq i32 %259, 0
  br i1 %.not75, label %.lr.ph, label %._crit_edge, !llvm.loop !36

._crit_edge:                                      ; preds = %258, %.preheader
  %.lcssa = phi i32 [ %254, %.preheader ], [ %259, %258 ]
  %260 = load i64, ptr %249, align 8, !tbaa !37
  %261 = trunc i64 %260 to i32
  store i32 %261, ptr %246, align 8, !tbaa !34
  %262 = load ptr, ptr %250, align 8, !tbaa !38
  store ptr %262, ptr %243, align 8, !tbaa !39
  %263 = zext i32 %.lcssa to i64
  %264 = icmp ugt i64 %260, %263
  br i1 %264, label %265, label %._crit_edge._crit_edge

265:                                              ; preds = %._crit_edge
  store i32 %.lcssa, ptr %246, align 8, !tbaa !34
  br label %._crit_edge._crit_edge

._crit_edge._crit_edge:                           ; preds = %._crit_edge, %265
  %.pre-phi = phi i64 [ %263, %265 ], [ %260, %._crit_edge ]
  call void @png_crc_read(ptr noundef nonnull %0, ptr noundef %262, i64 noundef %.pre-phi)
  %266 = load i32, ptr %246, align 8, !tbaa !34
  %267 = load i32, ptr %247, align 8, !tbaa !35
  %268 = sub i32 %267, %266
  store i32 %268, ptr %247, align 8, !tbaa !35
  br label %269

269:                                              ; preds = %._crit_edge._crit_edge, %252
  %270 = call i32 @inflate(ptr noundef nonnull %243, i32 noundef 1) #5
  switch i32 %270, label %277 [
    i32 1, label %271
    i32 0, label %279
  ]

271:                                              ; preds = %269
  %272 = load i32, ptr %245, align 8, !tbaa !33
  %.not80 = icmp eq i32 %272, 0
  br i1 %.not80, label %.sink.split, label %273

273:                                              ; preds = %271
  %274 = load i32, ptr %246, align 8, !tbaa !34
  %.not81 = icmp eq i32 %274, 0
  br i1 %.not81, label %275, label %.sink.split

275:                                              ; preds = %273
  %276 = load i32, ptr %247, align 8, !tbaa !35
  %.not82 = icmp eq i32 %276, 0
  br i1 %.not82, label %281, label %.sink.split

277:                                              ; preds = %269
  %278 = load ptr, ptr %251, align 8, !tbaa !40
  %.not78 = icmp eq ptr %278, null
  %spec.select = select i1 %.not78, ptr @.str.134, ptr %278
  call void @png_error(ptr noundef nonnull %0, ptr noundef nonnull %spec.select) #5
  br label %279

279:                                              ; preds = %269, %277
  %280 = load i32, ptr %245, align 8, !tbaa !33
  %.not79 = icmp eq i32 %280, 0
  br i1 %.not79, label %.sink.split, label %252

.sink.split:                                      ; preds = %279, %271, %273, %275
  call void @png_warning(ptr noundef nonnull %0, ptr noundef nonnull @.str.133) #5
  br label %281

281:                                              ; preds = %.sink.split, %275
  %282 = getelementptr inbounds i8, ptr %0, i64 284
  %283 = load <2 x i32>, ptr %282, align 4, !tbaa !25
  %284 = or <2 x i32> %283, <i32 8, i32 32>
  store <2 x i32> %284, ptr %282, align 4, !tbaa !25
  store i32 0, ptr %245, align 8, !tbaa !33
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #5
  br label %285

285:                                              ; preds = %281, %238
  %286 = getelementptr inbounds i8, ptr %0, i64 560
  %287 = load i32, ptr %286, align 8, !tbaa !35
  %.not83 = icmp eq i32 %287, 0
  br i1 %.not83, label %288, label %291

288:                                              ; preds = %285
  %289 = getelementptr inbounds i8, ptr %0, i64 304
  %290 = load i32, ptr %289, align 8, !tbaa !34
  %.not84 = icmp eq i32 %290, 0
  br i1 %.not84, label %292, label %291

291:                                              ; preds = %288, %285
  call void @png_warning(ptr noundef nonnull %0, ptr noundef nonnull @.str.135) #5
  br label %292

292:                                              ; preds = %291, %288
  %293 = getelementptr inbounds i8, ptr %0, i64 296
  %294 = call i32 @inflateReset(ptr noundef nonnull %293) #5
  %295 = getelementptr inbounds i8, ptr %0, i64 284
  %296 = load i32, ptr %295, align 4, !tbaa !41
  %297 = or i32 %296, 8
  store i32 %297, ptr %295, align 4, !tbaa !41
  br label %.thread

.thread.loopexit:                                 ; preds = %228, %215, %201, %188, %174, %161, %147, %134, %120, %107, %93, %80, %66, %53, %26, %39
  %.lcssa105 = phi i8 [ %24, %26 ], [ %24, %39 ], [ %51, %53 ], [ %51, %66 ], [ %78, %80 ], [ %78, %93 ], [ %105, %107 ], [ %105, %120 ], [ %132, %134 ], [ %132, %147 ], [ %159, %161 ], [ %159, %174 ], [ %186, %188 ], [ %186, %201 ], [ %213, %215 ], [ %213, %228 ]
  store i8 %.lcssa105, ptr %19, align 4, !tbaa !23
  br label %.thread

.thread:                                          ; preds = %.thread.loopexit, %1, %292
  ret void
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

declare i32 @inflateReset(ptr noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #4

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nofree nounwind willreturn memory(argmem: read) }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 484}
!6 = !{!"png_struct_def", !7, i64 0, !9, i64 200, !9, i64 208, !9, i64 216, !9, i64 224, !9, i64 232, !9, i64 240, !9, i64 248, !9, i64 256, !9, i64 264, !9, i64 272, !7, i64 280, !7, i64 281, !10, i64 284, !10, i64 288, !10, i64 292, !11, i64 296, !9, i64 408, !12, i64 416, !10, i64 424, !10, i64 428, !10, i64 432, !10, i64 436, !10, i64 440, !10, i64 444, !10, i64 448, !10, i64 452, !10, i64 456, !12, i64 464, !12, i64 472, !10, i64 480, !10, i64 484, !9, i64 488, !9, i64 496, !9, i64 504, !9, i64 512, !9, i64 520, !9, i64 528, !13, i64 536, !10, i64 560, !10, i64 564, !9, i64 568, !14, i64 576, !14, i64 578, !7, i64 580, !7, i64 585, !7, i64 586, !7, i64 587, !7, i64 588, !7, i64 589, !7, i64 590, !7, i64 591, !7, i64 592, !7, i64 593, !7, i64 594, !7, i64 595, !7, i64 596, !14, i64 598, !7, i64 600, !15, i64 604, !16, i64 608, !16, i64 618, !9, i64 632, !10, i64 640, !10, i64 644, !10, i64 648, !15, i64 652, !15, i64 656, !9, i64 664, !9, i64 672, !9, i64 680, !9, i64 688, !9, i64 696, !9, i64 704, !17, i64 712, !17, i64 717, !9, i64 728, !16, i64 736, !9, i64 752, !9, i64 760, !9, i64 768, !9, i64 776, !9, i64 784, !9, i64 792, !9, i64 800, !9, i64 808, !9, i64 816, !10, i64 824, !10, i64 828, !12, i64 832, !12, i64 840, !12, i64 848, !12, i64 856, !10, i64 864, !10, i64 868, !12, i64 872, !12, i64 880, !9, i64 888, !9, i64 896, !9, i64 904, !9, i64 912, !9, i64 920, !7, i64 928, !7, i64 929, !9, i64 936, !9, i64 944, !9, i64 952, !9, i64 960, !9, i64 968, !9, i64 976, !10, i64 984, !9, i64 992, !9, i64 1000, !10, i64 1008, !9, i64 1016, !7, i64 1024, !14, i64 1026, !14, i64 1028, !14, i64 1030, !10, i64 1032, !10, i64 1036, !7, i64 1040, !9, i64 1048, !9, i64 1056, !9, i64 1064, !9, i64 1072, !9, i64 1080, !9, i64 1088, !9, i64 1096, !7, i64 1104, !10, i64 1108, !10, i64 1112, !10, i64 1116, !18, i64 1120, !10, i64 1152, !10, i64 1156, !9, i64 1160, !10, i64 1168}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"any pointer", !7, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!"z_stream_s", !9, i64 0, !10, i64 8, !12, i64 16, !9, i64 24, !10, i64 32, !12, i64 40, !9, i64 48, !9, i64 56, !9, i64 64, !9, i64 72, !9, i64 80, !10, i64 88, !12, i64 96, !12, i64 104}
!12 = !{!"long", !7, i64 0}
!13 = !{!"png_row_info_struct", !10, i64 0, !12, i64 8, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19}
!14 = !{!"short", !7, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!"png_color_16_struct", !7, i64 0, !14, i64 2, !14, i64 4, !14, i64 6, !14, i64 8}
!17 = !{!"png_color_8_struct", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4}
!18 = !{!"png_unknown_chunk_t", !7, i64 0, !9, i64 8, !12, i64 16, !7, i64 24}
!19 = !{!6, !10, i64 452}
!20 = !{!6, !7, i64 587}
!21 = !{!6, !9, i64 488}
!22 = !{!6, !12, i64 464}
!23 = !{!6, !7, i64 588}
!24 = !{!6, !10, i64 444}
!25 = !{!10, !10, i64 0}
!26 = !{!6, !10, i64 480}
!27 = !{!6, !10, i64 292}
!28 = !{!6, !10, i64 448}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!6, !10, i64 288}
!32 = !{!6, !9, i64 320}
!33 = !{!6, !10, i64 328}
!34 = !{!6, !10, i64 304}
!35 = !{!6, !10, i64 560}
!36 = distinct !{!36, !30}
!37 = !{!6, !12, i64 416}
!38 = !{!6, !9, i64 408}
!39 = !{!6, !9, i64 296}
!40 = !{!6, !9, i64 344}
!41 = !{!6, !10, i64 284}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass