; LLVM IR from niessner/Matterport :: code/gaps/pkgs/jpeg (jdsample)

; 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.jpeg_decompress_struct = type { ptr, ptr, ptr, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, i32, i32, i32, i32, ptr, [4 x ptr], [4 x ptr], [4 x ptr], i32, ptr, i32, i32, [16 x i8], [16 x i8], [16 x i8], i32, i32, i8, i8, i8, i16, i16, i32, i8, i32, ptr, i32, i32, i32, i32, ptr, i32, [4 x ptr], i32, i32, i32, [10 x i32], i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.jpeg_memory_mgr = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64, i64 }
%struct.my_upsampler = type { %struct.jpeg_upsampler, [10 x ptr], [10 x ptr], i32, i32, [10 x i32], [10 x i8], [10 x i8] }
%struct.jpeg_upsampler = type { ptr, ptr, i32 }
%struct.jpeg_error_mgr = type { ptr, ptr, ptr, ptr, ptr, i32, %union.anon, i32, i64, ptr, i32, ptr, i32, i32 }
%union.anon = type { [8 x i32], [48 x i8] }
%struct.jpeg_component_info = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr }

; Function Attrs: nounwind uwtable
define dso_local void @jinit_upsampler(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  %12 = load ptr, ptr %2, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %12, i32 0, i32 1
  %14 = load ptr, ptr %13, align 8, !tbaa !9
  %15 = getelementptr inbounds %struct.jpeg_memory_mgr, ptr %14, i32 0, i32 0
  %16 = load ptr, ptr %15, align 8, !tbaa !14
  %17 = load ptr, ptr %2, align 8, !tbaa !5
  %18 = call ptr %16(ptr noundef %17, i32 noundef 1, i64 noundef 256)
  store ptr %18, ptr %3, align 8, !tbaa !5
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %20, i32 0, i32 85
  store ptr %19, ptr %21, align 8, !tbaa !17
  %22 = load ptr, ptr %3, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.my_upsampler, ptr %22, i32 0, i32 0
  %24 = getelementptr inbounds %struct.jpeg_upsampler, ptr %23, i32 0, i32 0
  store ptr @start_pass_upsample, ptr %24, align 8, !tbaa !18
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.my_upsampler, ptr %25, i32 0, i32 0
  %27 = getelementptr inbounds %struct.jpeg_upsampler, ptr %26, i32 0, i32 1
  store ptr @sep_upsample, ptr %27, align 8, !tbaa !21
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.my_upsampler, ptr %28, i32 0, i32 0
  %30 = getelementptr inbounds %struct.jpeg_upsampler, ptr %29, i32 0, i32 2
  store i32 0, ptr %30, align 8, !tbaa !22
  %31 = load ptr, ptr %2, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %31, i32 0, i32 59
  %33 = load i32, ptr %32, align 8, !tbaa !23
  %34 = icmp ne i32 %33, 0
  br i1 %34, label %35, label %46

35:                                               ; preds = %1
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %36, i32 0, i32 0
  %38 = load ptr, ptr %37, align 8, !tbaa !24
  %39 = getelementptr inbounds %struct.jpeg_error_mgr, ptr %38, i32 0, i32 5
  store i32 25, ptr %39, align 8, !tbaa !25
  %40 = load ptr, ptr %2, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %40, i32 0, i32 0
  %42 = load ptr, ptr %41, align 8, !tbaa !24
  %43 = getelementptr inbounds %struct.jpeg_error_mgr, ptr %42, i32 0, i32 0
  %44 = load ptr, ptr %43, align 8, !tbaa !27
  %45 = load ptr, ptr %2, align 8, !tbaa !5
  call void %44(ptr noundef %45)
  br label %46

46:                                               ; preds = %35, %1
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %47, i32 0, i32 18
  %49 = load i32, ptr %48, align 4, !tbaa !28
  %50 = icmp ne i32 %49, 0
  br i1 %50, label %51, label %56

51:                                               ; preds = %46
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %52, i32 0, i32 63
  %54 = load i32, ptr %53, align 8, !tbaa !29
  %55 = icmp sgt i32 %54, 1
  br label %56

56:                                               ; preds = %51, %46
  %57 = phi i1 [ false, %46 ], [ %55, %51 ]
  %58 = zext i1 %57 to i32
  store i32 %58, ptr %7, align 4, !tbaa !30
  store i32 0, ptr %4, align 4, !tbaa !30
  %59 = load ptr, ptr %2, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %59, i32 0, i32 44
  %61 = load ptr, ptr %60, align 8, !tbaa !31
  store ptr %61, ptr %5, align 8, !tbaa !5
  br label %62

62:                                               ; preds = %270, %56
  %63 = load i32, ptr %4, align 4, !tbaa !30
  %64 = load ptr, ptr %2, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %64, i32 0, i32 9
  %66 = load i32, ptr %65, align 8, !tbaa !32
  %67 = icmp slt i32 %63, %66
  br i1 %67, label %68, label %275

68:                                               ; preds = %62
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.jpeg_component_info, ptr %69, i32 0, i32 2
  %71 = load i32, ptr %70, align 8, !tbaa !33
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.jpeg_component_info, ptr %72, i32 0, i32 9
  %74 = load i32, ptr %73, align 4, !tbaa !35
  %75 = mul nsw i32 %71, %74
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %76, i32 0, i32 63
  %78 = load i32, ptr %77, align 8, !tbaa !29
  %79 = sdiv i32 %75, %78
  store i32 %79, ptr %8, align 4, !tbaa !30
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.jpeg_component_info, ptr %80, i32 0, i32 3
  %82 = load i32, ptr %81, align 4, !tbaa !36
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.jpeg_component_info, ptr %83, i32 0, i32 9
  %85 = load i32, ptr %84, align 4, !tbaa !35
  %86 = mul nsw i32 %82, %85
  %87 = load ptr, ptr %2, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %87, i32 0, i32 63
  %89 = load i32, ptr %88, align 8, !tbaa !29
  %90 = sdiv i32 %86, %89
  store i32 %90, ptr %9, align 4, !tbaa !30
  %91 = load ptr, ptr %2, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %91, i32 0, i32 61
  %93 = load i32, ptr %92, align 8, !tbaa !37
  store i32 %93, ptr %10, align 4, !tbaa !30
  %94 = load ptr, ptr %2, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %94, i32 0, i32 62
  %96 = load i32, ptr %95, align 4, !tbaa !38
  store i32 %96, ptr %11, align 4, !tbaa !30
  %97 = load i32, ptr %9, align 4, !tbaa !30
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.my_upsampler, ptr %98, i32 0, i32 5
  %100 = load i32, ptr %4, align 4, !tbaa !30
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [10 x i32], ptr %99, i64 0, i64 %101
  store i32 %97, ptr %102, align 4, !tbaa !30
  store i32 1, ptr %6, align 4, !tbaa !30
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.jpeg_component_info, ptr %103, i32 0, i32 12
  %105 = load i32, ptr %104, align 8, !tbaa !39
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %113, label %107

107:                                              ; preds = %68
  %108 = load ptr, ptr %3, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.my_upsampler, ptr %108, i32 0, i32 2
  %110 = load i32, ptr %4, align 4, !tbaa !30
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [10 x ptr], ptr %109, i64 0, i64 %111
  store ptr @noop_upsample, ptr %112, align 8, !tbaa !5
  store i32 0, ptr %6, align 4, !tbaa !30
  br label %240

113:                                              ; preds = %68
  %114 = load i32, ptr %8, align 4, !tbaa !30
  %115 = load i32, ptr %10, align 4, !tbaa !30
  %116 = icmp eq i32 %114, %115
  br i1 %116, label %117, label %127

117:                                              ; preds = %113
  %118 = load i32, ptr %9, align 4, !tbaa !30
  %119 = load i32, ptr %11, align 4, !tbaa !30
  %120 = icmp eq i32 %118, %119
  br i1 %120, label %121, label %127

121:                                              ; preds = %117
  %122 = load ptr, ptr %3, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.my_upsampler, ptr %122, i32 0, i32 2
  %124 = load i32, ptr %4, align 4, !tbaa !30
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [10 x ptr], ptr %123, i64 0, i64 %125
  store ptr @fullsize_upsample, ptr %126, align 8, !tbaa !5
  store i32 0, ptr %6, align 4, !tbaa !30
  br label %239

127:                                              ; preds = %117, %113
  %128 = load i32, ptr %8, align 4, !tbaa !30
  %129 = mul nsw i32 %128, 2
  %130 = load i32, ptr %10, align 4, !tbaa !30
  %131 = icmp eq i32 %129, %130
  br i1 %131, label %132, label %157

132:                                              ; preds = %127
  %133 = load i32, ptr %9, align 4, !tbaa !30
  %134 = load i32, ptr %11, align 4, !tbaa !30
  %135 = icmp eq i32 %133, %134
  br i1 %135, label %136, label %157

136:                                              ; preds = %132
  %137 = load i32, ptr %7, align 4, !tbaa !30
  %138 = icmp ne i32 %137, 0
  br i1 %138, label %139, label %150

139:                                              ; preds = %136
  %140 = load ptr, ptr %5, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.jpeg_component_info, ptr %140, i32 0, i32 10
  %142 = load i32, ptr %141, align 8, !tbaa !40
  %143 = icmp ugt i32 %142, 2
  br i1 %143, label %144, label %150

144:                                              ; preds = %139
  %145 = load ptr, ptr %3, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.my_upsampler, ptr %145, i32 0, i32 2
  %147 = load i32, ptr %4, align 4, !tbaa !30
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds [10 x ptr], ptr %146, i64 0, i64 %148
  store ptr @h2v1_fancy_upsample, ptr %149, align 8, !tbaa !5
  br label %156

150:                                              ; preds = %139, %136
  %151 = load ptr, ptr %3, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.my_upsampler, ptr %151, i32 0, i32 2
  %153 = load i32, ptr %4, align 4, !tbaa !30
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds [10 x ptr], ptr %152, i64 0, i64 %154
  store ptr @h2v1_upsample, ptr %155, align 8, !tbaa !5
  br label %156

156:                                              ; preds = %150, %144
  br label %238

157:                                              ; preds = %132, %127
  %158 = load i32, ptr %8, align 4, !tbaa !30
  %159 = mul nsw i32 %158, 2
  %160 = load i32, ptr %10, align 4, !tbaa !30
  %161 = icmp eq i32 %159, %160
  br i1 %161, label %162, label %191

162:                                              ; preds = %157
  %163 = load i32, ptr %9, align 4, !tbaa !30
  %164 = mul nsw i32 %163, 2
  %165 = load i32, ptr %11, align 4, !tbaa !30
  %166 = icmp eq i32 %164, %165
  br i1 %166, label %167, label %191

167:                                              ; preds = %162
  %168 = load i32, ptr %7, align 4, !tbaa !30
  %169 = icmp ne i32 %168, 0
  br i1 %169, label %170, label %184

170:                                              ; preds = %167
  %171 = load ptr, ptr %5, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.jpeg_component_info, ptr %171, i32 0, i32 10
  %173 = load i32, ptr %172, align 8, !tbaa !40
  %174 = icmp ugt i32 %173, 2
  br i1 %174, label %175, label %184

175:                                              ; preds = %170
  %176 = load ptr, ptr %3, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.my_upsampler, ptr %176, i32 0, i32 2
  %178 = load i32, ptr %4, align 4, !tbaa !30
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds [10 x ptr], ptr %177, i64 0, i64 %179
  store ptr @h2v2_fancy_upsample, ptr %180, align 8, !tbaa !5
  %181 = load ptr, ptr %3, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.my_upsampler, ptr %181, i32 0, i32 0
  %183 = getelementptr inbounds %struct.jpeg_upsampler, ptr %182, i32 0, i32 2
  store i32 1, ptr %183, align 8, !tbaa !22
  br label %190

184:                                              ; preds = %170, %167
  %185 = load ptr, ptr %3, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.my_upsampler, ptr %185, i32 0, i32 2
  %187 = load i32, ptr %4, align 4, !tbaa !30
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds [10 x ptr], ptr %186, i64 0, i64 %188
  store ptr @h2v2_upsample, ptr %189, align 8, !tbaa !5
  br label %190

190:                                              ; preds = %184, %175
  br label %237

191:                                              ; preds = %162, %157
  %192 = load i32, ptr %10, align 4, !tbaa !30
  %193 = load i32, ptr %8, align 4, !tbaa !30
  %194 = srem i32 %192, %193
  %195 = icmp eq i32 %194, 0
  br i1 %195, label %196, label %225

196:                                              ; preds = %191
  %197 = load i32, ptr %11, align 4, !tbaa !30
  %198 = load i32, ptr %9, align 4, !tbaa !30
  %199 = srem i32 %197, %198
  %200 = icmp eq i32 %199, 0
  br i1 %200, label %201, label %225

201:                                              ; preds = %196
  %202 = load ptr, ptr %3, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.my_upsampler, ptr %202, i32 0, i32 2
  %204 = load i32, ptr %4, align 4, !tbaa !30
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds [10 x ptr], ptr %203, i64 0, i64 %205
  store ptr @int_upsample, ptr %206, align 8, !tbaa !5
  %207 = load i32, ptr %10, align 4, !tbaa !30
  %208 = load i32, ptr %8, align 4, !tbaa !30
  %209 = sdiv i32 %207, %208
  %210 = trunc i32 %209 to i8
  %211 = load ptr, ptr %3, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.my_upsampler, ptr %211, i32 0, i32 6
  %213 = load i32, ptr %4, align 4, !tbaa !30
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds [10 x i8], ptr %212, i64 0, i64 %214
  store i8 %210, ptr %215, align 1, !tbaa !41
  %216 = load i32, ptr %11, align 4, !tbaa !30
  %217 = load i32, ptr %9, align 4, !tbaa !30
  %218 = sdiv i32 %216, %217
  %219 = trunc i32 %218 to i8
  %220 = load ptr, ptr %3, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.my_upsampler, ptr %220, i32 0, i32 7
  %222 = load i32, ptr %4, align 4, !tbaa !30
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds [10 x i8], ptr %221, i64 0, i64 %223
  store i8 %219, ptr %224, align 1, !tbaa !41
  br label %236

225:                                              ; preds = %196, %191
  %226 = load ptr, ptr %2, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %226, i32 0, i32 0
  %228 = load ptr, ptr %227, align 8, !tbaa !24
  %229 = getelementptr inbounds %struct.jpeg_error_mgr, ptr %228, i32 0, i32 5
  store i32 38, ptr %229, align 8, !tbaa !25
  %230 = load ptr, ptr %2, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %230, i32 0, i32 0
  %232 = load ptr, ptr %231, align 8, !tbaa !24
  %233 = getelementptr inbounds %struct.jpeg_error_mgr, ptr %232, i32 0, i32 0
  %234 = load ptr, ptr %233, align 8, !tbaa !27
  %235 = load ptr, ptr %2, align 8, !tbaa !5
  call void %234(ptr noundef %235)
  br label %236

236:                                              ; preds = %225, %201
  br label %237

237:                                              ; preds = %236, %190
  br label %238

238:                                              ; preds = %237, %156
  br label %239

239:                                              ; preds = %238, %121
  br label %240

240:                                              ; preds = %239, %107
  %241 = load i32, ptr %6, align 4, !tbaa !30
  %242 = icmp ne i32 %241, 0
  br i1 %242, label %243, label %269

243:                                              ; preds = %240
  %244 = load ptr, ptr %2, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %244, i32 0, i32 1
  %246 = load ptr, ptr %245, align 8, !tbaa !9
  %247 = getelementptr inbounds %struct.jpeg_memory_mgr, ptr %246, i32 0, i32 2
  %248 = load ptr, ptr %247, align 8, !tbaa !42
  %249 = load ptr, ptr %2, align 8, !tbaa !5
  %250 = load ptr, ptr %2, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %250, i32 0, i32 27
  %252 = load i32, ptr %251, align 8, !tbaa !43
  %253 = zext i32 %252 to i64
  %254 = load ptr, ptr %2, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %254, i32 0, i32 61
  %256 = load i32, ptr %255, align 8, !tbaa !37
  %257 = sext i32 %256 to i64
  %258 = call i64 @jround_up(i64 noundef %253, i64 noundef %257)
  %259 = trunc i64 %258 to i32
  %260 = load ptr, ptr %2, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.jpeg_decompress_struct, ptr %260, i32 0, i32 62
  %262 = load i32, ptr %261, align 4, !tbaa !38
  %263 = call ptr %248(ptr noundef %249, i32 noundef 1, i32 noundef %259, i32 noundef %262)
  %264 = load ptr, ptr %3, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.my_upsampler, ptr %264, i32 0, i32 1
  %266 = load i32, ptr %4, align 4, !tbaa !30
  %267 = sext i32 %266 to i64
  %268 = getelementptr inbounds [10 x ptr], ptr %265, i64 0, i64 %267
  store ptr %263, ptr %268, align 8, !tbaa !5
  br label %269

269:                                              ; preds = %243, %240
  br label %270

270:                                              ; preds = %269
  %271 = load i32, ptr %4, align 4, !tbaa !30
  %272 = add nsw i32 %271, 1
  store i32 %272, ptr %4, align 4, !tbaa !30
  %273 = load ptr, ptr %5, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.jpeg_component_info, ptr %273, i32 1
  store ptr %274, ptr %5, align 8, !tbaa !5
  br label %62, !llvm.loop !44

275:                                              ; preds = %62
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  ret void
}

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

; Function Attrs: nounwind uwtable
declare hidden void @start_pass_upsample(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @sep_upsample(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @noop_upsample(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @fullsize_upsample(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @h2v1_fancy_upsample(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @h2v1_upsample(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @h2v2_fancy_upsample(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @h2v2_upsample(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @int_upsample(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

declare i64 @jround_up(i64 noundef, i64 noundef) #2

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

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 = { 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, !6, i64 8}
!10 = !{!"jpeg_decompress_struct", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !11, i64 32, !11, i64 36, !6, i64 40, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !12, i64 80, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !11, i64 156, !6, i64 160, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !6, i64 192, !7, i64 200, !7, i64 232, !7, i64 264, !11, i64 296, !6, i64 304, !11, i64 312, !11, i64 316, !7, i64 320, !7, i64 336, !7, i64 352, !11, i64 368, !11, i64 372, !7, i64 376, !7, i64 377, !7, i64 378, !13, i64 380, !13, i64 382, !11, i64 384, !7, i64 388, !11, i64 392, !6, i64 400, !11, i64 408, !11, i64 412, !11, i64 416, !11, i64 420, !6, i64 424, !11, i64 432, !7, i64 440, !11, i64 472, !11, i64 476, !11, i64 480, !7, i64 484, !11, i64 524, !11, i64 528, !11, i64 532, !11, i64 536, !11, i64 540, !6, i64 544, !6, i64 552, !6, i64 560, !6, i64 568, !6, i64 576, !6, i64 584, !6, i64 592, !6, i64 600, !6, i64 608, !6, i64 616, !6, i64 624}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"short", !7, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"jpeg_memory_mgr", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !16, i64 88, !16, i64 96}
!16 = !{!"long", !7, i64 0}
!17 = !{!10, !6, i64 608}
!18 = !{!19, !6, i64 0}
!19 = !{!"", !20, i64 0, !7, i64 24, !7, i64 104, !11, i64 184, !11, i64 188, !7, i64 192, !7, i64 232, !7, i64 242}
!20 = !{!"jpeg_upsampler", !6, i64 0, !6, i64 8, !11, i64 16}
!21 = !{!19, !6, i64 8}
!22 = !{!19, !11, i64 16}
!23 = !{!10, !11, i64 392}
!24 = !{!10, !6, i64 0}
!25 = !{!26, !11, i64 40}
!26 = !{!"jpeg_error_mgr", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !11, i64 40, !7, i64 44, !11, i64 124, !16, i64 128, !6, i64 136, !11, i64 144, !6, i64 152, !11, i64 160, !11, i64 164}
!27 = !{!26, !6, i64 0}
!28 = !{!10, !11, i64 100}
!29 = !{!10, !11, i64 416}
!30 = !{!11, !11, i64 0}
!31 = !{!10, !6, i64 304}
!32 = !{!10, !11, i64 56}
!33 = !{!34, !11, i64 8}
!34 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !6, i64 80, !6, i64 88}
!35 = !{!34, !11, i64 36}
!36 = !{!34, !11, i64 12}
!37 = !{!10, !11, i64 408}
!38 = !{!10, !11, i64 412}
!39 = !{!34, !11, i64 48}
!40 = !{!34, !11, i64 40}
!41 = !{!7, !7, i64 0}
!42 = !{!15, !6, i64 16}
!43 = !{!10, !11, i64 136}
!44 = distinct !{!44, !45}
!45 = !{!"llvm.loop.mustprogress"}


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

; Function Attrs: nounwind uwtable
define dso_local void @jinit_upsampler(ptr noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 8
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = load ptr, ptr %3, align 8, !tbaa !13
  %5 = tail call ptr %4(ptr noundef %0, i32 noundef 1, i64 noundef 256) #2
  %6 = getelementptr inbounds i8, ptr %0, i64 608
  store ptr %5, ptr %6, align 8, !tbaa !16
  store ptr @start_pass_upsample, ptr %5, align 8, !tbaa !17
  %7 = getelementptr inbounds i8, ptr %5, i64 8
  store ptr @sep_upsample, ptr %7, align 8, !tbaa !20
  %8 = getelementptr inbounds i8, ptr %5, i64 16
  store i32 0, ptr %8, align 8, !tbaa !21
  %9 = getelementptr inbounds i8, ptr %0, i64 392
  %10 = load i32, ptr %9, align 8, !tbaa !22
  %.not = icmp eq i32 %10, 0
  br i1 %.not, label %15, label %11

11:                                               ; preds = %1
  %12 = load ptr, ptr %0, align 8, !tbaa !23
  %13 = getelementptr inbounds i8, ptr %12, i64 40
  store i32 25, ptr %13, align 8, !tbaa !24
  %14 = load ptr, ptr %12, align 8, !tbaa !26
  tail call void %14(ptr noundef nonnull %0) #2
  br label %15

15:                                               ; preds = %11, %1
  %16 = getelementptr inbounds i8, ptr %0, i64 100
  %17 = load i32, ptr %16, align 4, !tbaa !27
  %.not85 = icmp eq i32 %17, 0
  br i1 %.not85, label %22, label %18

18:                                               ; preds = %15
  %19 = getelementptr inbounds i8, ptr %0, i64 416
  %20 = load i32, ptr %19, align 8, !tbaa !28
  %21 = icmp sgt i32 %20, 1
  br label %22

22:                                               ; preds = %18, %15
  %23 = phi i1 [ false, %15 ], [ %21, %18 ]
  %24 = getelementptr inbounds i8, ptr %0, i64 56
  %25 = load i32, ptr %24, align 8, !tbaa !29
  %26 = icmp sgt i32 %25, 0
  br i1 %26, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %22
  %27 = getelementptr inbounds i8, ptr %0, i64 304
  %28 = load ptr, ptr %27, align 8, !tbaa !30
  %29 = getelementptr inbounds i8, ptr %0, i64 416
  %30 = getelementptr inbounds i8, ptr %0, i64 408
  %31 = getelementptr inbounds i8, ptr %0, i64 412
  %32 = getelementptr inbounds i8, ptr %5, i64 192
  %33 = getelementptr inbounds i8, ptr %5, i64 104
  %34 = getelementptr inbounds i8, ptr %5, i64 232
  %35 = getelementptr inbounds i8, ptr %5, i64 242
  %36 = getelementptr inbounds i8, ptr %0, i64 136
  %37 = getelementptr inbounds i8, ptr %5, i64 24
  br label %38

38:                                               ; preds = %.lr.ph, %.critedge
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %.critedge ]
  %.08391 = phi ptr [ %28, %.lr.ph ], [ %113, %.critedge ]
  %39 = getelementptr inbounds i8, ptr %.08391, i64 8
  %40 = load i32, ptr %39, align 8, !tbaa !31
  %41 = getelementptr inbounds i8, ptr %.08391, i64 36
  %42 = load i32, ptr %41, align 4, !tbaa !33
  %43 = mul nsw i32 %42, %40
  %44 = load i32, ptr %29, align 8, !tbaa !28
  %45 = sdiv i32 %43, %44
  %46 = getelementptr inbounds i8, ptr %.08391, i64 12
  %47 = load i32, ptr %46, align 4, !tbaa !34
  %48 = mul nsw i32 %47, %42
  %49 = sdiv i32 %48, %44
  %50 = load i32, ptr %30, align 8, !tbaa !35
  %51 = load i32, ptr %31, align 4, !tbaa !36
  %52 = getelementptr inbounds [10 x i32], ptr %32, i64 0, i64 %indvars.iv
  store i32 %49, ptr %52, align 4, !tbaa !37
  %53 = getelementptr inbounds i8, ptr %.08391, i64 48
  %54 = load i32, ptr %53, align 8, !tbaa !38
  %.not86 = icmp eq i32 %54, 0
  br i1 %.not86, label %.critedge, label %55

55:                                               ; preds = %38
  %56 = icmp eq i32 %45, %50
  %57 = icmp eq i32 %49, %51
  %or.cond = select i1 %56, i1 %57, i1 false
  br i1 %or.cond, label %.critedge, label %58

58:                                               ; preds = %55
  %59 = shl nsw i32 %45, 1
  %60 = icmp eq i32 %59, %50
  %or.cond88 = select i1 %60, i1 %57, i1 false
  br i1 %or.cond88, label %61, label %70

61:                                               ; preds = %58
  br i1 %23, label %62, label %68

62:                                               ; preds = %61
  %63 = getelementptr inbounds i8, ptr %.08391, i64 40
  %64 = load i32, ptr %63, align 8, !tbaa !39
  %65 = icmp ugt i32 %64, 2
  br i1 %65, label %66, label %68

66:                                               ; preds = %62
  %67 = getelementptr inbounds [10 x ptr], ptr %33, i64 0, i64 %indvars.iv
  store ptr @h2v1_fancy_upsample, ptr %67, align 8, !tbaa !40
  br label %100

68:                                               ; preds = %62, %61
  %69 = getelementptr inbounds [10 x ptr], ptr %33, i64 0, i64 %indvars.iv
  store ptr @h2v1_upsample, ptr %69, align 8, !tbaa !40
  br label %100

70:                                               ; preds = %58
  %71 = shl nsw i32 %49, 1
  %72 = icmp eq i32 %71, %51
  %or.cond90 = select i1 %60, i1 %72, i1 false
  br i1 %or.cond90, label %73, label %82

73:                                               ; preds = %70
  br i1 %23, label %74, label %80

74:                                               ; preds = %73
  %75 = getelementptr inbounds i8, ptr %.08391, i64 40
  %76 = load i32, ptr %75, align 8, !tbaa !39
  %77 = icmp ugt i32 %76, 2
  br i1 %77, label %78, label %80

78:                                               ; preds = %74
  %79 = getelementptr inbounds [10 x ptr], ptr %33, i64 0, i64 %indvars.iv
  store ptr @h2v2_fancy_upsample, ptr %79, align 8, !tbaa !40
  store i32 1, ptr %8, align 8, !tbaa !21
  br label %100

80:                                               ; preds = %74, %73
  %81 = getelementptr inbounds [10 x ptr], ptr %33, i64 0, i64 %indvars.iv
  store ptr @h2v2_upsample, ptr %81, align 8, !tbaa !40
  br label %100

82:                                               ; preds = %70
  %83 = srem i32 %50, %45
  %84 = sdiv i32 %50, %45
  %85 = icmp eq i32 %83, 0
  br i1 %85, label %86, label %96

86:                                               ; preds = %82
  %87 = srem i32 %51, %49
  %88 = sdiv i32 %51, %49
  %89 = icmp eq i32 %87, 0
  br i1 %89, label %90, label %96

90:                                               ; preds = %86
  %91 = getelementptr inbounds [10 x ptr], ptr %33, i64 0, i64 %indvars.iv
  store ptr @int_upsample, ptr %91, align 8, !tbaa !40
  %92 = trunc i32 %84 to i8
  %93 = getelementptr inbounds [10 x i8], ptr %34, i64 0, i64 %indvars.iv
  store i8 %92, ptr %93, align 1, !tbaa !41
  %94 = trunc i32 %88 to i8
  %95 = getelementptr inbounds [10 x i8], ptr %35, i64 0, i64 %indvars.iv
  store i8 %94, ptr %95, align 1, !tbaa !41
  br label %100

96:                                               ; preds = %86, %82
  %97 = load ptr, ptr %0, align 8, !tbaa !23
  %98 = getelementptr inbounds i8, ptr %97, i64 40
  store i32 38, ptr %98, align 8, !tbaa !24
  %99 = load ptr, ptr %97, align 8, !tbaa !26
  tail call void %99(ptr noundef nonnull %0) #2
  br label %100

100:                                              ; preds = %68, %66, %90, %96, %78, %80
  %101 = load ptr, ptr %2, align 8, !tbaa !5
  %102 = getelementptr inbounds i8, ptr %101, i64 16
  %103 = load ptr, ptr %102, align 8, !tbaa !42
  %104 = load i32, ptr %36, align 8, !tbaa !43
  %105 = zext i32 %104 to i64
  %106 = load i32, ptr %30, align 8, !tbaa !35
  %107 = sext i32 %106 to i64
  %108 = tail call i64 @jround_up(i64 noundef %105, i64 noundef %107) #2
  %109 = trunc i64 %108 to i32
  %110 = load i32, ptr %31, align 4, !tbaa !36
  %111 = tail call ptr %103(ptr noundef nonnull %0, i32 noundef 1, i32 noundef %109, i32 noundef %110) #2
  br label %.critedge

.critedge:                                        ; preds = %55, %38, %100
  %.sink94 = phi ptr [ %37, %100 ], [ %33, %38 ], [ %33, %55 ]
  %fullsize_upsample.sink = phi ptr [ %111, %100 ], [ @noop_upsample, %38 ], [ @fullsize_upsample, %55 ]
  %112 = getelementptr inbounds [10 x ptr], ptr %.sink94, i64 0, i64 %indvars.iv
  store ptr %fullsize_upsample.sink, ptr %112, align 8, !tbaa !40
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %113 = getelementptr inbounds i8, ptr %.08391, i64 96
  %114 = load i32, ptr %24, align 8, !tbaa !29
  %115 = sext i32 %114 to i64
  %116 = icmp slt i64 %indvars.iv.next, %115
  br i1 %116, label %38, label %._crit_edge, !llvm.loop !44

._crit_edge:                                      ; preds = %.critedge, %22
  ret void
}

; Function Attrs: nounwind uwtable
declare hidden void @start_pass_upsample(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @sep_upsample(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @noop_upsample(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @fullsize_upsample(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @h2v1_fancy_upsample(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @h2v1_upsample(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @h2v2_fancy_upsample(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @h2v2_upsample(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @int_upsample(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

declare i64 @jround_up(i64 noundef, i64 noundef) local_unnamed_addr #1

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 = { "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 }

!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, !7, i64 8}
!6 = !{!"jpeg_decompress_struct", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !10, i64 36, !7, i64 40, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !11, i64 80, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !10, i64 156, !7, i64 160, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !7, i64 192, !8, i64 200, !8, i64 232, !8, i64 264, !10, i64 296, !7, i64 304, !10, i64 312, !10, i64 316, !8, i64 320, !8, i64 336, !8, i64 352, !10, i64 368, !10, i64 372, !8, i64 376, !8, i64 377, !8, i64 378, !12, i64 380, !12, i64 382, !10, i64 384, !8, i64 388, !10, i64 392, !7, i64 400, !10, i64 408, !10, i64 412, !10, i64 416, !10, i64 420, !7, i64 424, !10, i64 432, !8, i64 440, !10, i64 472, !10, i64 476, !10, i64 480, !8, i64 484, !10, i64 524, !10, i64 528, !10, i64 532, !10, i64 536, !10, i64 540, !7, i64 544, !7, i64 552, !7, i64 560, !7, i64 568, !7, i64 576, !7, i64 584, !7, i64 592, !7, i64 600, !7, i64 608, !7, i64 616, !7, i64 624}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!"short", !8, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"jpeg_memory_mgr", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !15, i64 88, !15, i64 96}
!15 = !{!"long", !8, i64 0}
!16 = !{!6, !7, i64 608}
!17 = !{!18, !7, i64 0}
!18 = !{!"", !19, i64 0, !8, i64 24, !8, i64 104, !10, i64 184, !10, i64 188, !8, i64 192, !8, i64 232, !8, i64 242}
!19 = !{!"jpeg_upsampler", !7, i64 0, !7, i64 8, !10, i64 16}
!20 = !{!18, !7, i64 8}
!21 = !{!18, !10, i64 16}
!22 = !{!6, !10, i64 392}
!23 = !{!6, !7, i64 0}
!24 = !{!25, !10, i64 40}
!25 = !{!"jpeg_error_mgr", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !8, i64 44, !10, i64 124, !15, i64 128, !7, i64 136, !10, i64 144, !7, i64 152, !10, i64 160, !10, i64 164}
!26 = !{!25, !7, i64 0}
!27 = !{!6, !10, i64 100}
!28 = !{!6, !10, i64 416}
!29 = !{!6, !10, i64 56}
!30 = !{!6, !7, i64 304}
!31 = !{!32, !10, i64 8}
!32 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !7, i64 80, !7, i64 88}
!33 = !{!32, !10, i64 36}
!34 = !{!32, !10, i64 12}
!35 = !{!6, !10, i64 408}
!36 = !{!6, !10, i64 412}
!37 = !{!10, !10, i64 0}
!38 = !{!32, !10, i64 48}
!39 = !{!32, !10, i64 40}
!40 = !{!7, !7, i64 0}
!41 = !{!8, !8, i64 0}
!42 = !{!14, !7, i64 16}
!43 = !{!6, !10, i64 136}
!44 = distinct !{!44, !45}
!45 = !{!"llvm.loop.mustprogress"}


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